aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-02-07 00:37:13 -0500
committerDeterminant <ted.sybil@gmail.com>2019-02-07 00:37:13 -0500
commite4651c8d1bc1c416de553428bcfba137ca35ef91 (patch)
treeaff8ce0c5c24d65720b2a6e2195d25afcbe28f89 /src
parent13a2bd4f4aee6b4dec0ce799e9ba212693cbedf1 (diff)
use a minimal webpack-based build env
Diffstat (limited to 'src')
-rw-r--r--src/gapi.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gapi.js b/src/gapi.js
index 36af906..c2c5dd6 100644
--- a/src/gapi.js
+++ b/src/gapi.js
@@ -59,9 +59,9 @@ export function logout() {
return getAuthToken().then(token => {
return fetch(`https://accounts.google.com/o/oauth2/revoke?${to_params({ token })}`,
{ method: 'GET', async: true }).then(response => {
- if (response.status === 200)
- return _removeCachedAuthToken(token);
- else throw GApiError.otherError;
+ //if (response.status === 200)
+ return _removeCachedAuthToken(token);
+ //else throw GApiError.otherError;
});
}).then(() => loggedIn = false);
}