-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
While setting up each of the errors for the test error component, when you address the "Bad Guid" error in agent.ts, the initital "Bad Request" error brakes.
Solution (agent.ts): Move lines 38-40 to below line 41. As in nest the top "if" statement directly inside the one below it.
case 400:
if (data.errors) {
if (config.method === 'get' && data.errors.hasOwnProperty('id')) {
router.navigate('/not-found');
}
Now all them work correctly again. Cheers!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels