diff options
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index c457d0ffc..687418097 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -180,8 +180,8 @@ export async function openTalerDatabase( return new Database(mainDbHandle, Stores); } -export function deleteTalerDatabase(idbFactory: IDBFactory): void { - Database.deleteDatabase(idbFactory, TALER_DB_NAME); +export function deleteTalerDatabase(idbFactory: IDBFactory): Promise<void> { + return Database.deleteDatabase(idbFactory, TALER_DB_NAME); } export enum ReserveRecordStatus { |