sneed
This commit is contained in:
parent
e77561f0c0
commit
8a0083f2df
13 changed files with 53 additions and 23 deletions
|
@ -70,7 +70,7 @@ def postbanaward(post_id, v):
|
|||
post.banaward = v.username
|
||||
g.db.add(post)
|
||||
|
||||
return jsonify({"message": "User banned successfully!"}), 200
|
||||
return jsonify({"message": "User banned successfully!"}), 204
|
||||
|
||||
@app.route("/api/publish/<pid>", methods=["POST"])
|
||||
@is_not_banned
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue