permit and processed collection updates
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user