taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit f55ae63de5cf0566c8e3dd68d6f40ffe82fd7a76
parent 105115e7120950c1e738b9a15f262f1205ff11ec
Author: Florian Dold <florian@dold.me>
Date:   Sat, 26 Apr 2025 00:22:45 +0200

fix missing await

Diffstat:
Mpackages/taler-wallet-core/src/pay-peer-common.ts | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/pay-peer-common.ts b/packages/taler-wallet-core/src/pay-peer-common.ts @@ -369,7 +369,7 @@ export async function recordDelete<Store extends WalletDbStoresName>( ) => Promise<void> = async () => {}, ): Promise<{ notifs: WalletNotification[] }> { const notifs: WalletNotification[] = []; - const rec = tx[ctx.store].get(ctx.recordId); + const rec = await tx[ctx.store].get(ctx.recordId); if (rec == null) { return { notifs }; }