Merge pull request 'console.log' (#65) from statistics into master
Reviewed-on: http://git.plannaplan.pl/y0rune/frontend/pulls/65
This commit is contained in:
commit
c83f839705
@ -9,7 +9,6 @@ export const getNewTokens = async () => {
|
|||||||
const { data } = await axiosInstance.get(
|
const { data } = await axiosInstance.get(
|
||||||
`${process.env.REACT_APP_API_URL}/token/refresh?refreshToken=${refreshToken}`,
|
`${process.env.REACT_APP_API_URL}/token/refresh?refreshToken=${refreshToken}`,
|
||||||
);
|
);
|
||||||
console.log("12312321",data);
|
|
||||||
localStorage.setItem('userPrivilige',data.authorityRole);
|
localStorage.setItem('userPrivilige',data.authorityRole);
|
||||||
localStorage.setItem('userToken', data.token);
|
localStorage.setItem('userToken', data.token);
|
||||||
localStorage.setItem('refreshToken', data.refreshToken);
|
localStorage.setItem('refreshToken', data.refreshToken);
|
||||||
|
Loading…
Reference in New Issue
Block a user