Skip to content

Commit 5a93462

Browse files
authored
fix: drive picker revoke token
1 parent 3eb3873 commit 5a93462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drive/picker/helloworld.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
*/
124124
function handleSignoutClick() {
125125
if (accessToken) {
126-
accessToken = null;
127126
google.accounts.oauth2.revoke(accessToken);
127+
accessToken = null;
128128
document.getElementById('content').innerText = '';
129129
document.getElementById('authorize_button').innerText = 'Authorize';
130130
document.getElementById('signout_button').style.visibility = 'hidden';

0 commit comments

Comments
 (0)