updated error on not found to 404, accidentally had it as 400

This commit is contained in:
Solomon Laing 2021-06-06 13:09:31 +09:30
parent 6cfdded7bb
commit 8f25cbc2ca

2
app.py
View File

@ -53,7 +53,7 @@ class Post(Resource):
}
return _post, 200
return "Post not found", 400
return "Post not found", 404
class Posts(Resource):