needs to be awaited

This commit is contained in:
Bruno Windels 2022-01-28 13:11:52 +01:00
parent b30db544a3
commit ebc7f1ecd7

View File

@ -88,7 +88,7 @@ export class KeyBackup {
throw err; throw err;
} }
} }
this.markKeysAsBackedUp(keysNeedingBackup, setAbortable); await this.markKeysAsBackedUp(keysNeedingBackup, setAbortable);
amountFinished += keysNeedingBackup.length; amountFinished += keysNeedingBackup.length;
setProgress(new Progress(total, amountFinished)); setProgress(new Progress(total, amountFinished));
} }