Fix backup import flow in linking UI

This commit is contained in:
Fedor Indutny 2024-08-21 13:51:18 -07:00 committed by GitHub
parent 6256d62170
commit 59c6a4ec7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1330,7 +1330,7 @@ export default class AccountManager extends EventTarget {
]);
if (backupFile !== undefined) {
await backupsService.importBackup(() => Readable.from(backupFile));
await backupsService.importBackup(() => Readable.from([backupFile]));
}
}