aki-008 commited on
Commit
f63667d
·
1 Parent(s): d5c13b8

chore: small fix

Browse files
Files changed (1) hide show
  1. Frontend/src/api/api.ts +2 -2
Frontend/src/api/api.ts CHANGED
@@ -9,10 +9,10 @@ API.interceptors.request.use((config) => {
9
  const token = localStorage.getItem("token");
10
 
11
  if (token) {
12
- config.headers.Authorization = Bearer ${token};
13
  }
14
 
15
  return config;
16
  });
17
 
18
- export default API;
 
9
  const token = localStorage.getItem("token");
10
 
11
  if (token) {
12
+ config.headers.Authorization = `Bearer ${token}`;
13
  }
14
 
15
  return config;
16
  });
17
 
18
+ export default API;