We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b822ed8 commit 602b91dCopy full SHA for 602b91d
packages/bot-web-ui/src/stores/google-drive-store.js
@@ -51,11 +51,9 @@ export default class GoogleDriveStore {
51
client_id: this.client_id,
52
scope: this.scope,
53
callback: response => {
54
- if (response?.access_token && !response?.error) {
55
- this.access_token = response.access_token;
56
- this.updateSigninStatus(true);
57
- localStorage.setItem('google_access_token', response.access_token);
58
- }
+ this.access_token = response.access_token;
+ this.updateSigninStatus(true);
+ localStorage.setItem('google_access_token', response.access_token);
59
},
60
});
61
};
0 commit comments