diff --git a/app/assets/javascripts/services/archiveManager.ts b/app/assets/javascripts/services/archiveManager.ts index c73e4b046..90fb01ba2 100644 --- a/app/assets/javascripts/services/archiveManager.ts +++ b/app/assets/javascripts/services/archiveManager.ts @@ -26,7 +26,7 @@ export class ArchiveManager { this.application = application; } - public async downloadBackup(encrypted: boolean) { + public async downloadBackup(encrypted: boolean): Promise { const intent = encrypted ? EncryptionIntent.FileEncrypted : EncryptionIntent.FileDecrypted; @@ -44,10 +44,6 @@ export class ArchiveManager { `Standard Notes Encrypted Backup and Import File - ${this.formattedDate()}.txt` ); } else { - /** Remove auth/keyParams as they won't be needed to decrypt the file */ - delete data.auth_params; - delete data.keyParams; - /** download as zipped plain text files */ this.downloadZippedDecryptedItems(data); } }