Schema changes

This commit is contained in:
2024-12-23 18:21:24 +05:30
parent 6c1399ddd4
commit ca8659fdef
3 changed files with 32 additions and 16 deletions

View File

@@ -34,9 +34,6 @@ export async function permitRoutes(fastify: FastifyInstance) {
permitId: { type: "string" },
},
},
response: {
200: $permit("getPermitResponse"),
},
},
config: { requiredClaims: ["permit:read"] },
preHandler: [fastify.authorize],