fdg
This commit is contained in:
parent
62a21c3821
commit
e85a5994e5
2 changed files with 0 additions and 4 deletions
|
@ -820,7 +820,6 @@ def undelete_comment(cid, v):
|
||||||
|
|
||||||
|
|
||||||
@app.post("/pin_comment/<cid>")
|
@app.post("/pin_comment/<cid>")
|
||||||
@limiter.limit("1/second")
|
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def toggle_pin_comment(cid, v):
|
def toggle_pin_comment(cid, v):
|
||||||
|
|
|
@ -25,7 +25,6 @@ with open("snappy.txt", "r") as f: snappyquotes = f.read().split("{[para]}")
|
||||||
|
|
||||||
|
|
||||||
@app.post("/toggle_club/<pid>")
|
@app.post("/toggle_club/<pid>")
|
||||||
@limiter.limit("1/second")
|
|
||||||
@auth_required
|
@auth_required
|
||||||
def toggle_club(pid, v):
|
def toggle_club(pid, v):
|
||||||
|
|
||||||
|
@ -1002,7 +1001,6 @@ def undelete_post_pid(pid, v):
|
||||||
|
|
||||||
|
|
||||||
@app.post("/toggle_comment_nsfw/<cid>")
|
@app.post("/toggle_comment_nsfw/<cid>")
|
||||||
@limiter.limit("1/second")
|
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def toggle_comment_nsfw(cid, v):
|
def toggle_comment_nsfw(cid, v):
|
||||||
|
@ -1019,7 +1017,6 @@ def toggle_comment_nsfw(cid, v):
|
||||||
else: return {"message": "Comment has been unmarked as +18!"}
|
else: return {"message": "Comment has been unmarked as +18!"}
|
||||||
|
|
||||||
@app.post("/toggle_post_nsfw/<pid>")
|
@app.post("/toggle_post_nsfw/<pid>")
|
||||||
@limiter.limit("1/second")
|
|
||||||
@auth_required
|
@auth_required
|
||||||
@validate_formkey
|
@validate_formkey
|
||||||
def toggle_post_nsfw(pid, v):
|
def toggle_post_nsfw(pid, v):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue