-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: API to sync in_discord role with discord members and add joined_discord date #1097
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Request you to share the updated data model and write tests as well.
tracking the test task in a separate issue: #1112 |
Please don't mind, but in users.js file line no: 504 why fetching all user data at once ? Why don't we fetch it as paginated or or executing all the paginated users in parallel with Promise.all() ? |
Tests are failing? |
@@ -21,6 +21,7 @@ | |||
router.put("/self/intro", authenticate, userValidator.validateJoinData, users.addUserIntro); | |||
router.get("/:id/skills", users.getUserSkills); | |||
router.get("/:id/badges", getUserBadges); | |||
router.patch("/", authenticate, authorizeRoles([SUPERUSER]), users.nonVerifiedDiscordUsers); |
Check failure
Code scanning / CodeQL
Missing rate limiting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add test coverage stats
Create an endpoint to look into the users who have not linked their discord or are not in discord
Coverage
models:
controllers:
THe lines wrote by me are covered