From b3ae213bc5987fbb6a2ce5c08d626f9f65508b03 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 8 Mar 2024 10:08:15 -0300 Subject: remove http resp from operation --- packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'packages/aml-backoffice-ui/src/pages') diff --git a/packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx b/packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx index bab672192..c42b1e7af 100644 --- a/packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx +++ b/packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx @@ -121,7 +121,6 @@ export function parseJustification( const info = codecForSimpleFormMetadata().decode(justification); if (!info.id) { return { - httpResp: undefined as any, type: "fail", case: "id-not-found", detail: {} as any, @@ -129,7 +128,6 @@ export function parseJustification( } if (!info.version) { return { - httpResp: undefined as any, type: "fail", case: "version-not-found", detail: {} as any, @@ -140,14 +138,12 @@ export function parseJustification( }); if (!found) { return { - httpResp: undefined as any, type: "fail", case: "form-not-found", detail: {} as any, }; } return { - httpResp: undefined as any, type: "ok", body: { justification, @@ -156,7 +152,6 @@ export function parseJustification( }; } catch (e) { return { - httpResp: undefined as any, type: "fail", case: "not-json", detail: {} as any, -- cgit v1.2.3