make newPayment field optional while updating permit
This commit is contained in:
@@ -133,7 +133,7 @@ const updatePermitInput = z.object({
|
|||||||
.nullable()
|
.nullable()
|
||||||
.optional(),
|
.optional(),
|
||||||
assignedTo: z.string().optional(),
|
assignedTo: z.string().optional(),
|
||||||
newPayment: z.array(z.any()),
|
newPayment: z.array(z.any()).optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
export type CreatePermitInput = z.infer<typeof createPermitInput>;
|
export type CreatePermitInput = z.infer<typeof createPermitInput>;
|
||||||
|
|||||||
Reference in New Issue
Block a user