fix a token access issue
This commit is contained in:
@@ -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)
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user