New endpoints; New tests; Version 0.3.0

This commit is contained in:
Aslan 2025-12-28 04:29:42 +01:00
parent 4bc3be87b4
commit 1f3a94cf38
27 changed files with 551 additions and 72 deletions

View file

@ -4,7 +4,7 @@ import * as controller from "./index.js";
const inviteRoutes = async (fastify: FastifyInstance) => {
fastify.get(`/:id`, controller.getInvite);
fastify.delete(`/:id`, controller.deleteInvite);
fastify.post(`/:id/accept`, controller.postAcceptInvite);
fastify.get(`/:id/accept`, controller.getAcceptInvite);
};
export { inviteRoutes };