RealDevSquad / RealDevSquad/website-backend
Fix `updatedAt` in user documents in firestore
Open
@MehulKChaudhari is already working on this.
Since Feb 27, 2024.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Issue Description
Now we don't update updatedAt field after updating the user details in DB.
Expected Behavior
updatedAt should be updated with latest timestamp every time user details are updated in DB.
Current Behavior
updatedAt is not getting updated after user details are updated in DB. both the createdAt and updatedAt fields have same value.
Screenshots
Reproducibility
- This issue is reproducible
- This issue is not reproducible
Steps to Reproduce
- hit API
https://api.realdevsquad.com/usersand you can see the timestamp not being updated after user details are updated.
Severity/Priority
- Critical
- High
- Medium
- Low
Additional Information
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
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.