remotes/1693045480750635534/spooky-22
Aevann1 2022-01-29 02:03:40 +02:00
parent d23320c1ae
commit f0d1996884
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ def post_id(pid, anything=None, v=None):
@app.post("/viewmore/<pid>/<sort>/<offset>")
@limiter.limit("1/second;30/minute;200/hour;1000/day")
@auth_required
@auth_desired
def viewmore(v, pid, sort, offset):
offset = int(offset)
if v:
@ -343,7 +343,7 @@ def viewmore(v, pid, sort, offset):
@app.post("/morecomments/<cid>")
@limiter.limit("1/second;30/minute;200/hour;1000/day")
@auth_required
@auth_desired
def morecomments(v, cid):
tcid = g.db.query(Comment.top_comment_id).filter_by(id=cid).one_or_none()[0]