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