fix auth dropbox

This commit is contained in:
fyears
2021-11-30 00:21:15 +08:00
parent bdac16ee24
commit 2669a3e8ad
2 changed files with 16 additions and 8 deletions
+3 -2
View File
@@ -338,11 +338,12 @@ export class DropboxAuthModal extends Modal {
k.verifier,
authCode
);
const self = this;
setConfigBySuccessfullAuthInplace(
this.plugin.settings.dropbox,
authRes
authRes,
() => self.plugin.saveSettings()
);
const self = this;
const client = new RemoteClient(
"dropbox",
undefined,