fix a token access issue

This commit is contained in:
Sven Czarnian committed 2022-11-04 22:57:59 +01:00
1 parent 13d943b5fb
commit c23fcb3ea5
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ export class Auth {
return axios
.get<User>(`${Configuration.resourceServer}/auth/user`, {
headers: {
Authorization: `Bearer ${sessionStorage.getItem('token')}`,
Authorization: `Bearer ${token}`,
},
})
.then((response) => response.data)