Skip to content

Commit 70fb304

Browse files
committed
fix #676
1 parent 328e20b commit 70fb304

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/components/Popup/DrivePage.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export default Vue.extend({
104104
},
105105
async backupUpload() {
106106
const drive = new Drive();
107-
const response = await drive.upload(this.$store.state.encryption);
107+
const response = await drive.upload(
108+
this.$store.state.accounts.encryption
109+
);
108110
if (response === true) {
109111
this.$store.commit("notification/alert", this.i18n.updateSuccess);
110112
} else if (localStorage.driveRevoked === "true") {

src/components/Popup/DropboxPage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default Vue.extend({
9292
},
9393
async backupUpload() {
9494
const dbox = new Dropbox();
95-
const response = await dbox.upload(this.$store.state.encryption);
95+
const response = await dbox.upload(this.$store.state.accounts.encryption);
9696
if (response === true) {
9797
this.$store.commit("notification/alert", this.i18n.updateSuccess);
9898
} else if (localStorage.dropboxRevoked === "true") {

src/components/Popup/OneDrivePage.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ export default Vue.extend({
9393
},
9494
async backupUpload() {
9595
const oneDrive = new OneDrive();
96-
const response = await oneDrive.upload(this.$store.state.encryption);
96+
const response = await oneDrive.upload(
97+
this.$store.state.accounts.encryption
98+
);
9799
if (response === true) {
98100
this.$store.commit("notification/alert", this.i18n.updateSuccess);
99101
} else if (localStorage.oneDriveRevoked === "true") {

0 commit comments

Comments
 (0)