When posting a comment without an image, the comment is not made #22
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
When posting a comment without an image, the comment is not made.
When posting a comment with an image, the comment IS made and there is no problem.
Steps to reproduce this behavior:
(create a post or run
npm run db:generate 100
in the /express/ directory.)In the browser console the following response appears:
Object { success: false, message: "Post must include content" }
The server terminal logs the following:
The text was updated successfully, but these errors were encountered: