Add file handlers, s3 support
This commit is contained in:
@@ -36,6 +36,7 @@ export default function organizationRoutes(fastify: FastifyInstance) {
|
||||
},
|
||||
},
|
||||
config: { requiredClaims: ["org:read"] },
|
||||
preHandler: [fastify.authorize],
|
||||
},
|
||||
getOrgHandler
|
||||
);
|
||||
@@ -63,6 +64,8 @@ export default function organizationRoutes(fastify: FastifyInstance) {
|
||||
200: $org("createOrgResponse"),
|
||||
},
|
||||
},
|
||||
config: { requiredClaims: ["org:write"] },
|
||||
preHandler: [fastify.authorize],
|
||||
},
|
||||
updateOrgHandler
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user