fix: long polling doesnt wait

This commit is contained in:
Sebastian 2022-09-28 13:38:36 -03:00
parent 7ce1cea1c7
commit 4382e090ab
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -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) {