diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-08 10:08:15 -0300 |
commit | b3ae213bc5987fbb6a2ce5c08d626f9f65508b03 (patch) | |
tree | 01b264fe249d92803d2f5224a621c15a5ff9b1fe /packages/aml-backoffice-ui | |
parent | 2a4dbc67e8d1e6a256431e34f0b2e0e19d204f70 (diff) | |
download | wallet-core-b3ae213bc5987fbb6a2ce5c08d626f9f65508b03.tar.xz |
remove http resp from operation
Diffstat (limited to 'packages/aml-backoffice-ui')
-rw-r--r-- | packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
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, |