Commentative / commentative

Add your thoughts when sharing content
https://commentative.herokuapp.com/
GNU General Public License v3.0
5 stars 1 forks source link

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

Open reubengt opened 4 years ago

reubengt commented 4 years ago

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.

mbanerjeepalmer commented 4 years ago

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

image

reubengt commented 4 years ago

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