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

article uuid request from database returns comments without user's name #36

Open
rooberrydev opened this issue May 26, 2020 · 2 comments

Comments

@rooberrydev
Copy link
Collaborator

Screenshot 2020-05-26 at 16 36 24

this is for a request of the format
https://awsbackendurl/dev/commentative/${req.params.uuid}

which should be returning all the info necessary to load that article and its comments on the page.

currently returns article content and comments(text and reference id) but not the user attached to each comment.

the user does get posted to the database, so the query needs to be edited to return this info as well.

@rooberrydev rooberrydev changed the title article uuid request from database returns comments without user info article uuid request from database returns comments without user's name May 26, 2020
@mbanerjeepalmer
Copy link
Collaborator

Not sure if this is fixed. Commented as an anonymous user and space was empty. Perhaps that's intended behaviour.

image

@rooberrydev
Copy link
Collaborator Author

Nope not expected behaviour. i opened this issue today because the database isn't returning the users name, hence the blank spaces when you refresh the page.

Will need to fix this in dynamodb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants