mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05:00
chore: fix some backups not being imported
This commit is contained in:
@@ -15,10 +15,8 @@ export class GetBackupFileType implements SyncUseCaseInterface<BackupFileType> {
|
||||
|
||||
if (hasEncryptedItem && hasDecryptedItemsKey) {
|
||||
return Result.ok(BackupFileType.EncryptedWithNonEncryptedItemsKey)
|
||||
} else if (!hasEncryptedItem) {
|
||||
return Result.ok(BackupFileType.FullyDecrypted)
|
||||
} else {
|
||||
return Result.ok(BackupFileType.Corrupt)
|
||||
}
|
||||
|
||||
return Result.ok(BackupFileType.FullyDecrypted)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user