diff options
author | Sebastian <sebasjm@gmail.com> | 2022-09-28 13:38:36 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-09-28 13:38:36 -0300 |
commit | 4382e090ab5ce3e09366736577101c3e9f8e6161 (patch) | |
tree | f2d45d1c7a213e16bd1fb6514ef57ecdbf66d303 | |
parent | 7ce1cea1c77f690b038d559a4533bc82e27c33ad (diff) | |
download | wallet-core-4382e090ab5ce3e09366736577101c3e9f8e6161.tar.xz |
fix: long polling doesnt wait
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 2 |
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) { |