RealDevSquad / RealDevSquad/website-backend
Create a common function for removeing fields like phone, email, and other credentials from users response and then returning,
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
I think we should remove token and chain code also
Originally posted by @prakashchoudhary07 in https://github.com/Real-Dev-Squad/website-backend/pull/1064#discussion_r1199854083
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.
Research direction
Start with models/users.js at lines 167-174, referenced from the issue, and inspect how user responses are assembled. Identify the existing removal of phone, email, and other credentials, including token and chain code. Done means the relevant user responses use a common function and no listed credentials are returned.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend, security
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100