Skip to content

Commit

Permalink
incorrect type on noso
Browse files Browse the repository at this point in the history
  • Loading branch information
andieswift committed Jan 16, 2025
1 parent 54d7968 commit 43694f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/lambda/submit/submitNOSO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down

0 comments on commit 43694f7

Please sign in to comment.