forked from rDrama/rDrama
the shadow of death
parent
77bc8d84b2
commit
eaa169c5df
|
@ -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…
Reference in New Issue