diff options
author | Florian Dold <florian@dold.me> | 2021-06-09 16:47:45 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-09 16:47:45 +0200 |
commit | 0ee44c3a5872d00cc1e8295f5b8e54b72d4bbebb (patch) | |
tree | 8446599a001fb40eeb797a2e530e20eaaf51eabe /packages/taler-wallet-core/src/operations/pay.ts | |
parent | 2d4a53f5221274982954a6377e948f3aa441c083 (diff) | |
download | wallet-core-0ee44c3a5872d00cc1e8295f5b8e54b72d4bbebb.tar.gz wallet-core-0ee44c3a5872d00cc1e8295f5b8e54b72d4bbebb.tar.bz2 wallet-core-0ee44c3a5872d00cc1e8295f5b8e54b72d4bbebb.zip |
add missing await
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts index 86b66e6f6..9e23f6a17 100644 --- a/packages/taler-wallet-core/src/operations/pay.ts +++ b/packages/taler-wallet-core/src/operations/pay.ts @@ -874,7 +874,7 @@ async function startDownloadProposal( await ws.db .mktx((x) => ({ proposals: x.proposals })) .runReadWrite(async (tx) => { - const existingRecord = tx.proposals.indexes.byUrlAndOrderId.get([ + const existingRecord = await tx.proposals.indexes.byUrlAndOrderId.get([ merchantBaseUrl, orderId, ]); |