fix a token access issue

Este commit está contenido en:
Sven Czarnian
2022-11-04 22:57:59 +01:00
padre 13d943b5fb
commit c23fcb3ea5

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)