fix tests ugh
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s

This commit is contained in:
2025-12-09 18:48:17 -08:00
parent 4674309ea1
commit 23e0c44b61
10 changed files with 89 additions and 79 deletions

View File

@@ -270,7 +270,7 @@ export class PersonalizationRepository {
return newAppliances;
} catch (error) {
await client.query('ROLLBACK');
// The patch requested this specific error handling.
// The patch requested this specific error handling - check for foreign key violation
if ((error as any).code === '23503') {
throw new ForeignKeyConstraintError('Invalid appliance ID');
}