fix tests ugh
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 5m53s
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user