You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a new tutorial and publish it.
Add comments.
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
The text was updated successfully, but these errors were encountered:
Describe the bug
When the
addComment
action is called then the userId field is fixed withcodelabzuser
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:
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):
The text was updated successfully, but these errors were encountered: