Revert "fix: long polling doesnt wait"

This reverts commit 4382e090ab.
This commit is contained in:
Florian Dold 2022-09-28 19:04:42 +02:00
parent 4382e090ab
commit 37243d4d8c
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -407,7 +407,7 @@ export async function runOperationWithErrorReporting(
case OperationAttemptResultType.Pending: case OperationAttemptResultType.Pending:
return await storeOperationPending(ws, opId); return await storeOperationPending(ws, opId);
case OperationAttemptResultType.Longpoll: case OperationAttemptResultType.Longpoll:
return await storeOperationPending(ws, opId); break;
} }
} catch (e) { } catch (e) {
if (e instanceof TalerError) { if (e instanceof TalerError) {