diff --git a/src/permit/permit.schema.ts b/src/permit/permit.schema.ts index ec16a05..cb0b439 100644 --- a/src/permit/permit.schema.ts +++ b/src/permit/permit.schema.ts @@ -133,7 +133,7 @@ const updatePermitInput = z.object({ .nullable() .optional(), assignedTo: z.string().optional(), - newPayment: z.array(z.any()), + newPayment: z.array(z.any()).optional(), }); export type CreatePermitInput = z.infer;