fg
This commit is contained in:
parent
95f8dec3a9
commit
4096f36acb
2 changed files with 19 additions and 113 deletions
|
@ -846,10 +846,10 @@ def undelete_comment(cid, v):
|
|||
return {"message": "Comment undeleted!"}
|
||||
|
||||
|
||||
@app.post("/comment_pin/<cid>")
|
||||
@app.post("/pin_comment/<cid>")
|
||||
@auth_required
|
||||
@validate_formkey
|
||||
def toggle_comment_pin(cid, v):
|
||||
def toggle_pin_comment(cid, v):
|
||||
|
||||
comment = get_comment(cid, v=v)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue