aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}