robksawyer / minnow-back

The backend that powers the minnow
Other
1 stars 0 forks source link

Comments can be added to a Post that does not exist #25

Open robksawyer opened 9 years ago

robksawyer commented 9 years ago

This is kind of silly, but currently you can create a comment for a post that doesn't exist. There needs to be a policy in place that checks the existence of Posts.

robksawyer commented 9 years ago

It now should return the following when passing a post id that does not exist.

{
    "message": null,
    "status": 403
}