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:
- Go to any idea page
- Type a comment
- Click submit
- 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