diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-23 01:20:27 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-23 01:20:27 -0500 |
commit | 0d665c8de086d79d8c49e01a262a520c65505fbf (patch) | |
tree | 1b499bfa4abd52429ebc5fc46c00f559260e626d /src/gapi.ts | |
parent | f23552831c5f2310a3afa4b16198e06a7283a069 (diff) |
improve the UI
Diffstat (limited to 'src/gapi.ts')
-rw-r--r-- | src/gapi.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gapi.ts b/src/gapi.ts index 4178426..116d873 100644 --- a/src/gapi.ts +++ b/src/gapi.ts @@ -56,7 +56,9 @@ export class Auth { async getAuthToken(): Promise<string> { let b = await this.loggedIn(); - if (b) return _getAuthToken(false); + //if (b) return _getAuthToken(false); + // FIXME: Chrome OS dev has a bug + if (b) return _getAuthToken(true); else throw GApiError.notLoggedIn; } |