We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a520a64 commit 1435ec7Copy full SHA for 1435ec7
routes/users.js
@@ -21,7 +21,7 @@ router.get("/:userId/intro", authenticate, authorizeRoles([SUPERUSER]), users.ge
21
router.put("/self/intro", authenticate, userValidator.validateJoinData, users.addUserIntro);
22
router.get("/:id/skills", users.getUserSkills);
23
router.get("/:id/badges", getUserBadges);
24
-router.patch("/", authenticate, authorizeRoles[SUPERUSER], users.usersForInDiscord);
+router.patch("/", authenticate, authorizeRoles([SUPERUSER]), users.usersForInDiscord);
25
26
// upload.single('profile') -> multer inmemory storage of file for type multipart/form-data
27
router.post("/picture", authenticate, upload.single("profile"), users.postUserPicture);
0 commit comments