Browse Source

fix: update authorization state after authorization

Gerald 9 years ago
parent
commit
e85faeda59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/background/sync/onedrive.js

+ 1 - 1
src/background/sync/onedrive.js

@@ -26,7 +26,7 @@ setTimeout(function () {
       authorized({
         code: url.slice(redirect_uri.length),
       }).then(function () {
-        onedrive.prepare();
+        onedrive.checkSync();
       });
       return true;
     }