From 446e00cab4844c23f8667d95448b59aae4a4361e Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Mon, 30 Jan 2023 00:50:00 +0200 Subject: [PATCH] fix --- src/api/useApi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/useApi.js b/src/api/useApi.js index d430b46..338cc54 100644 --- a/src/api/useApi.js +++ b/src/api/useApi.js @@ -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);