mirror of
https://github.com/detleph/server.git
synced 2026-09-05 16:06:21 +02:00
Fix routes, add getRole controller
This commit is contained in:
@@ -81,7 +81,7 @@ export const getAllParticipants = async (req: Request<{}, {}, {}, { teamPid?: st
|
||||
return _getAllParticipants(res, auth, req.query.teamPid);
|
||||
};
|
||||
|
||||
export const getAllDisciplinesParams = async (req: Request<{ teamPid: string }>, res: Response) => {
|
||||
export const getAllParticipantsParams = async (req: Request<{ teamPid: string }>, res: Response) => {
|
||||
const auth = req.auth || req.teamleader;
|
||||
|
||||
if (!auth) {
|
||||
|
||||
Reference in New Issue
Block a user