New endpoints; New tests; Version 0.3.0
This commit is contained in:
parent
4bc3be87b4
commit
1f3a94cf38
27 changed files with 551 additions and 72 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue