feat: update permit schema
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user