u
This commit is contained in:
@@ -26,6 +26,7 @@ function quoteErrorStatus(error) {
|
||||
if (error.message === 'Entity not found') return 404;
|
||||
if (error.message === 'Article not found') return 404;
|
||||
if (error.message === 'Invalid entityId') return 400;
|
||||
if (error.message === 'Quote number already exists') return 409;
|
||||
if (error.message === 'Invalid quote') return 400;
|
||||
if (error.message === 'Invalid order') return 400;
|
||||
if (error.message === 'Invalid lines') return 400;
|
||||
|
||||
Reference in New Issue
Block a user