feat: update permit schema

This commit is contained in:
2025-09-24 15:59:40 +05:30
parent b68ab704da
commit b9572953b5
4 changed files with 114 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ export async function updatePermitHandler(
req: FastifyRequest,
res: FastifyReply
) {
const input = req.body as UpdatePermitInput;
const input = req.body as CreatePermitInput;
const { permitId } = req.params as { permitId: string };
try {