From 6af708aa26396667078a8da3d3fca4e894998b5d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 12 Mar 2024 11:55:49 -0300 Subject: fix #8490 also check 2a4dbc67e8d1e6a256 --- packages/taler-util/src/operation.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/taler-util/src/operation.ts b/packages/taler-util/src/operation.ts index 0debd09fd..07a216fe9 100644 --- a/packages/taler-util/src/operation.ts +++ b/packages/taler-util/src/operation.ts @@ -90,8 +90,6 @@ export interface OperationAlternative { export interface OperationFailWithBody { type: "fail"; - httpResp: HttpResponse; - case: keyof B; body: B[OperationFailWithBody["case"]]; } @@ -120,7 +118,7 @@ export async function opKnownFailureWithBody( case_: keyof B, body: B[typeof case_], ): Promise> { - return { type: "fail", case: case_, body, httpResp: {} as any }; + return { type: "fail", case: case_, body }; } export async function opKnownAlternativeFailure( -- cgit v1.2.3