Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Fix : Not Saving the USER_ID of the Commented User And No Proper Avatar For Comments ] #164

Closed
rohitPandey469 opened this issue Jan 11, 2025 · 0 comments
Labels
bug Something isn't working feature firebase help wanted Extra attention is needed

Comments

@rohitPandey469
Copy link

Describe the bug
When the addComment action is called then the userId field is fixed with codelabzuser value instead it should have sent the current logged in user's id.
So this will help in displaying commented users Avatar.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new tutorial and publish it.
  2. Add comments.
  3. See in firebase under cl_comments collection all comments have same user id's.

Expected behavior
It should have stored the logged in user id.

Video

Codelabz.-.Google.Chrome.2024-02-15.15-29-46.mp4

See here in firebase all comments have same user id or it's fixed to codelabzuser even when commented through other id's.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome
@github-actions github-actions bot added bug Something isn't working feature firebase help wanted Extra attention is needed labels Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature firebase help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant