Skip to content

Commit

Permalink
Revert "fix: google drive showing connected even on abort action (#12040
Browse files Browse the repository at this point in the history
)" (#12278)

This reverts commit e15757f.
  • Loading branch information
sandeep-deriv committed Dec 14, 2023
1 parent b822ed8 commit 8e2d10d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/bot-web-ui/src/stores/google-drive-store.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ export default class GoogleDriveStore {
client_id: this.client_id,
scope: this.scope,
callback: response => {
if (response?.access_token && !response?.error) {
this.access_token = response.access_token;
this.updateSigninStatus(true);
localStorage.setItem('google_access_token', response.access_token);
}
this.access_token = response.access_token;
this.updateSigninStatus(true);
localStorage.setItem('google_access_token', response.access_token);
},
});
};
Expand Down

1 comment on commit 8e2d10d

@vercel
Copy link

@vercel vercel bot commented on 8e2d10d Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
binary.sx
deriv-app-git-master.binary.sx
deriv-app.binary.sx

Please sign in to comment.