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

New comments not displayed #24

Open
zachbryant opened this issue May 13, 2018 · 0 comments
Open

New comments not displayed #24

zachbryant opened this issue May 13, 2018 · 0 comments
Labels

Comments

@zachbryant
Copy link
Collaborator

zachbryant commented May 13, 2018

Bug description

My comments are not being displayed when I submit them. When I refresh the page, I only see json data.

Expected behavior

I expected my comment to show up.

Steps to reproduce the issue:

  1. Go to any idea page
  2. Type a comment
  3. Click submit
  4. Refresh

Technical details:

  • Platform (windows/mac/linux/docker): linux
  • Browser: Vivaldi, Chrome

Additional context
Here is the json data output:
{"_id":"5af5cad5294fab4130fdd8e4","voted":["5af5c8294d89f70028db78f4"],"title":"My Idea 4","description":"4","authorId":"5af5c8294d89f70028db78f4","createdAt":"2018-05-11T16:54:45.401Z","updatedAt":"2018-05-11T17:05:52.610Z","__v":0,"author":{"_id":"5af5c8294d89f70028db78f4","token":"vGynWAXK8NoieLkEjPLFpmKRHBw","email":"[email protected]","name":"Jay H","createdAt":"2018-05-11T16:43:21.418Z","updatedAt":"2018-05-12T05:29:06.790Z","__v":0},"comments":null}

It looks like my comment on idea 4 ended up on idea 3, and my comment for idea 3 ended up on idea 1

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

No branches or pull requests

2 participants