| @@ -23,9 +23,7 @@ const store = () => { | ||||
| 			}); | ||||
| 		}, | ||||
| 		refreshAuth() { | ||||
| 			console.log('refreshing auth'); | ||||
| 			AuthService.authControllerRefresh({ token: state.auth.refresh_token }).then((auth) => { | ||||
| 				console.log('got new auth'); | ||||
| 				OpenAPI.TOKEN = auth.access_token; | ||||
| 				const jwtinfo = JSON.parse(atob(auth.access_token.split('.')[1])); | ||||
| 				state.jwtinfo = jwtinfo; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user