fix dropbox path

This commit is contained in:
fyears
2024-01-10 02:28:42 +08:00
parent 43cf95c417
commit 7b67ba5b26
5 changed files with 85 additions and 62 deletions
+9 -1
View File
@@ -579,12 +579,20 @@ export default class RemotelySavePlugin extends Plugin {
text: val,
});
});
} else {
new Notice(t("protocol_dropbox_no_modal"));
return;
}
let authRes = await sendAuthReqDropbox(
this.settings.dropbox.clientID,
this.oauth2Info.verifier,
inputParams.code
inputParams.code,
async (e: any) => {
new Notice(t("protocol_dropbox_connect_fail"));
new Notice(`${e}`);
return;
}
);
const self = this;