Skip to content

Commit

Permalink
fix: drive picker revoke token
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt authored Jan 23, 2025
1 parent 3eb3873 commit 5a93462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drive/picker/helloworld.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
*/
function handleSignoutClick() {
if (accessToken) {
accessToken = null;
google.accounts.oauth2.revoke(accessToken);
accessToken = null;
document.getElementById('content').innerText = '';
document.getElementById('authorize_button').innerText = 'Authorize';
document.getElementById('signout_button').style.visibility = 'hidden';
Expand Down

0 comments on commit 5a93462

Please sign in to comment.