aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'packages/aml-backoffice-ui/src/pages')
-rw-r--r--packages/aml-backoffice-ui/src/pages/AntiMoneyLaunderingForm.tsx5
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,