Skip to content

Commit

Permalink
stray merge artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
cubap committed Jan 16, 2025
1 parent b0c7327 commit 9314bd0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions project/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9314bd0

Please sign in to comment.