permit and processed collection updates

This commit is contained in:
2025-04-29 13:46:11 +05:30
parent bf41bc9c7c
commit c2df46bdc1
6 changed files with 76 additions and 10 deletions

View File

@@ -10,15 +10,10 @@ import {
} from "./permit.controller";
import { $permit } from "./permit.schema";
import { hideFields } from "../auth";
import {
createNoteHandler,
deleteNoteHandler,
listNotesHandler,
} from "../note/note.controller";
import { noteRoutes } from "../note/note.route";
export async function permitRoutes(fastify: FastifyInstance) {
fastify.post(
/* fastify.post(
"/",
{
schema: {
@@ -28,7 +23,7 @@ export async function permitRoutes(fastify: FastifyInstance) {
preHandler: [fastify.authorize],
},
createPermitHandler
);
); */
fastify.get(
"/:permitId",