From 9314bd0ffee370a2260b3a7abee5f896716d1a8d Mon Sep 17 00:00:00 2001 From: cubap Date: Thu, 16 Jan 2025 11:05:27 -0600 Subject: [PATCH] stray merge artifact --- project/index.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/project/index.mjs b/project/index.mjs index 02f42a4..8b969f6 100644 --- a/project/index.mjs +++ b/project/index.mjs @@ -218,8 +218,6 @@ router.route("/:projectId/collaborator/:collaboratorId/addRoles").post(auth0Midd } }) - if (!accessInfo.hasAccess) return respondWithError(res, 403, accessInfo.message) - // Change a member's Role(s): Replace roles with new ones router.route("/:projectId/collaborator/:collaboratorId/setRoles").put(auth0Middleware(), async (req, res) => { const { projectId, collaboratorId } = req.params