the shadow of death
This commit is contained in:
parent
2d2acffeb1
commit
b6eac2fa09
1 changed files with 1 additions and 0 deletions
|
@ -1531,6 +1531,7 @@ def api_pin_post(post_id, v):
|
|||
g.db.commit()
|
||||
if post.is_pinned: return {"message": "Post pinned!"}
|
||||
else: return {"message": "Post unpinned!"}
|
||||
return {"error": "Post not found!"}
|
||||
|
||||
|
||||
@app.get("/submit/title")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue