fix delete

This commit is contained in:
fyears
2021-11-03 12:04:11 +08:00
parent d007d5f230
commit cb0098ec85
+1 -1
View File
@@ -355,7 +355,7 @@ export const doActualSync = async (
remoteEncryptedKey
);
} else if (state.decision === "delremote_clearhist") {
await deleteFromRemote(s3Client, s3Config, state.key);
await deleteFromRemote(s3Client, s3Config, state.key, password, remoteEncryptedKey);
await clearDeleteRenameHistoryOfKey(db, state.key);
} else if (state.decision === "upload") {
const remoteObjMeta = await uploadToRemote(