RealDevSquad / RealDevSquad/website-backend
[Spike]: Analyze does fetchUsers only give 100 user if we don't pass size
Open
@SanketDhabarde is already working on this.
Since Nov 8, 2022.
spike
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Description
- We fetch all the users by using this https://github.com/Real-Dev-Squad/website-backend/blob/develop/models/users.js#L91 function
- But there is a limit while getting the users https://github.com/Real-Dev-Squad/website-backend/blob/develop/models/users.js#L91
- So if you don't pass size in the query you will get only 100 users.
AC
- It should be clear why the limit was used.
- Is this implementation affecting any place where we want all the users?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.