diff --git a/src/Routes/role.routes.ts b/src/Routes/role.routes.ts index 72726d5..0c91fd1 100644 --- a/src/Routes/role.routes.ts +++ b/src/Routes/role.routes.ts @@ -1,6 +1,9 @@ import Express from "express"; -import { assignParticipantToRole } from "../Controllers/role.controller"; +import { assignParticipantToRole, getRolesForTeam } from "../Controllers/role.controller"; const router = Express.Router(); +//TO DO: maybe transfer getRolesForTeam to team router +router.get<"team/:teamPid/", { teamPid: string }>("team/:teamPid/", getRolesForTeam); + router.patch<"/:pid/", { pid: string }>("/:pid/", assignParticipantToRole) \ No newline at end of file