Skip to content

Commit

Permalink
fix #491
Browse files Browse the repository at this point in the history
  • Loading branch information
mymindstorm committed May 22, 2020
1 parent d84ab82 commit ebdb191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/background.ts
Expand Up @@ -260,6 +260,9 @@ function getBackupToken(service: string) {
scopes: ["https://www.googleapis.com/auth/drive.file"]
},
value => {
if (!value) {
return false;
}
localStorage.driveToken = value;
chrome.runtime.sendMessage({ action: "drivetoken", value });
return true;
Expand Down

0 comments on commit ebdb191

Please sign in to comment.