u
This commit is contained in:
@@ -171,6 +171,7 @@ function deliveryErrorStatus(error) {
|
||||
if (error.message === 'Invalid file') return 400;
|
||||
if (error.message === 'Invalid JSON in "data" field') return 400;
|
||||
if (error.message === 'Only PDF or text files are accepted as attachments') return 400;
|
||||
if (error.message?.includes('father article') || error.message?.includes('A father article')) return 400;
|
||||
return 500;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user