make newPayment field optional while updating permit
This commit is contained in:
@@ -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<typeof createPermitInput>;
|
||||
|
||||
Reference in New Issue
Block a user