master
Tudor Stanciu 2023-01-30 00:50:00 +02:00
parent 0907c9cedd
commit 446e00cab4
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ const useApi = () => {
let message; let message;
switch (err?.status) { switch (err?.status) {
case 500: case 500:
message = `${err.title} ${err.correlationId}`; message = err.title;
break; break;
case 404: case 404:
@ -19,7 +19,7 @@ const useApi = () => {
break; break;
default: default:
message = `${err.title} ${err.correlationId}`; message = err.title;
} }
error(message); error(message);