diff --git a/frontend/src/app/helpers/utility.ts b/frontend/src/app/helpers/utility.ts index c5b38490..ed3e0783 100644 --- a/frontend/src/app/helpers/utility.ts +++ b/frontend/src/app/helpers/utility.ts @@ -130,7 +130,7 @@ export const getAxiosInstance = () => { baseURL: API, // timeout: 2000, headers: { - Authorization: 'Bearer ' + user?.access_token, + Authorization: `Bearer ${user?.access_token || ''}`, requestID: generateRequestId(), 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json',