From 43694f735686d0eceeaf2af13d61ea48db54abc5 Mon Sep 17 00:00:00 2001 From: Andie Swift Date: Thu, 16 Jan 2025 15:53:21 -0600 Subject: [PATCH] incorrect type on noso --- lib/lambda/submit/submitNOSO.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lambda/submit/submitNOSO.ts b/lib/lambda/submit/submitNOSO.ts index 407aa07df..de5ba7d78 100644 --- a/lib/lambda/submit/submitNOSO.ts +++ b/lib/lambda/submit/submitNOSO.ts @@ -10,7 +10,8 @@ import { ItemResult } from "shared-types/opensearch/main"; export const submitNOSOAdminSchema = z .object({ packageId: z.string(), - action: z.literal("NOSO"), + event: z.literal("NOSO"), + adminChangeType: z.literal("NOSO"), copyAttachmentsFrom: z.string().optional(), }) .and(z.record(z.string(), z.any()));