mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2026-05-14 22:00:30 +09:00
#78 fixed a smell
This commit is contained in:
@@ -21,7 +21,7 @@ export class UserService {
|
||||
|
||||
refreshToken() {
|
||||
this.apiService.get(this.config.refresh_token_url).subscribe(res => {
|
||||
if (res.access_token !== null) {
|
||||
if (res.accessToken !== null) {
|
||||
return this.getUserInfo().toPromise()
|
||||
.then(user => {
|
||||
this.currentUser = user;
|
||||
|
||||
Reference in New Issue
Block a user