commit 4382e090ab5ce3e09366736577101c3e9f8e6161
parent 7ce1cea1c77f690b038d559a4533bc82e27c33ad
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 28 Sep 2022 13:38:36 -0300
fix: long polling doesnt wait
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {