diff --git a/frontend/src/components/tornjak-api-helpers.tsx b/frontend/src/components/tornjak-api-helpers.tsx index 6c635860..a44fe5cc 100644 --- a/frontend/src/components/tornjak-api-helpers.tsx +++ b/frontend/src/components/tornjak-api-helpers.tsx @@ -25,7 +25,7 @@ type TornjakApiState = {} if (Auth_Server_Uri) { // inject token if app is in auth mode and check token status/ refresh as needed axios.interceptors.request.use( - config => { + async (config: any): Promise => { console.log("Checking token status...") if (KeycloakService.isLoggedIn()) { const setAuthorization = () => {