RealDevSquad / RealDevSquad/website-backend
API breaks if participants of tasks object has unknown username
Open
@shubham-y is already working on this.
Since Nov 14, 2021.
bug
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
The participants array stores array of user_ids where user_ids are generated by username(by the backend) and if the username does not exist then particular user_id would be false hence breaking the API
Below structure breaks the API for /tasks 👇
participants : [
"user_id",
false,
]
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.