fix a token access issue

Este commit está contenido en:
Sven Czarnian committed 2022-11-04 22:57:59 +01:00
1 padre 13d943b5fb
commit c23fcb3ea5
1 file changed
+1 -1
+1 -1
Ver fichero
@@ -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)