33
This commit is contained in:
1 parent
e8d669e2ec
commit
0af5db33a5
1 file changed
+1
-1
@@ -17,7 +17,7 @@ async function refreshToken() {
|
||||
const result = await axios.post('/api/accounts/token/refresh/', {refresh}, {
|
||||
baseURL
|
||||
})
|
||||
|
||||
|
||||
if (result.config.data) localStorage.setItem('refresh', JSON.parse(result.config.data).refresh);
|
||||
localStorage.setItem('access', result.data.access)
|
||||
|
||||
|
||||
Reference in new issue
Block a user