fd
This commit is contained in:
parent
f0f8624fff
commit
35e40d78c0
6 changed files with 36 additions and 39 deletions
|
@ -31,7 +31,7 @@ def api_flag_post(pid, v):
|
|||
|
||||
g.db.add(flag)
|
||||
|
||||
return "", 204
|
||||
return {"message": "Post flagged!"}
|
||||
|
||||
|
||||
@app.post("/flag/comment/<cid>")
|
||||
|
@ -59,7 +59,7 @@ def api_flag_comment(cid, v):
|
|||
|
||||
g.db.add(flag)
|
||||
|
||||
return "", 204
|
||||
return {"message": "Comment flagged!"}
|
||||
|
||||
|
||||
@app.post('/del_report/<report_fn>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue