aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-28 13:38:36 -0300
committerSebastian <sebasjm@gmail.com>2022-09-28 13:38:36 -0300
commit4382e090ab5ce3e09366736577101c3e9f8e6161 (patch)
treef2d45d1c7a213e16bd1fb6514ef57ecdbf66d303
parent7ce1cea1c77f690b038d559a4533bc82e27c33ad (diff)
fix: long polling doesnt wait
-rw-r--r--packages/taler-wallet-core/src/wallet.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 4323f68f5..c3acf1794 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -407,7 +407,7 @@ export async function runOperationWithErrorReporting(
case OperationAttemptResultType.Pending:
return await storeOperationPending(ws, opId);
case OperationAttemptResultType.Longpoll:
- break;
+ return await storeOperationPending(ws, opId);
}
} catch (e) {
if (e instanceof TalerError) {