RealDevSquad / RealDevSquad/website-backend

Fix `updatedAt` in user documents in firestore

Open
#1,929 0 comments 0 reactions 1 assignee View on GitHub

@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
image
Reproducibility
  • This issue is reproducible
  • This issue is not reproducible
Steps to Reproduce
  1. hit API https://api.realdevsquad.com/users and 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.