Skip to content

Commit

Permalink
Fix type for upgraded Axios library (#323)
Browse files Browse the repository at this point in the history
Signed-off-by: Maia Iyer <[email protected]>
  • Loading branch information
maia-iyer authored Dec 13, 2023
1 parent c6692da commit a3e1882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/tornjak-api-helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<any> => {
console.log("Checking token status...")
if (KeycloakService.isLoggedIn()) {
const setAuthorization = () => {
Expand Down

0 comments on commit a3e1882

Please sign in to comment.