console.log

This commit is contained in:
wrzesinski-hubert 2021-01-25 18:54:10 +01:00
parent f319e022fe
commit 4ac917649a

View File

@ -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);