diff --git a/files/routes/reporting.py b/files/routes/reporting.py index 45f8edda7..efafcda2b 100644 --- a/files/routes/reporting.py +++ b/files/routes/reporting.py @@ -112,8 +112,8 @@ def report_comment(cid, v): @app.post('/del_report/post//') @limiter.limit('1/second', scope=rpath) @limiter.limit('1/second', scope=rpath, key_func=get_ID) -@limiter.limit("100/minute;300/hour;2000/day", deduct_when=lambda response: response.status_code < 400) -@limiter.limit("100/minute;300/hour;2000/day", deduct_when=lambda response: response.status_code < 400, key_func=get_ID) +@limiter.limit("99999/day", deduct_when=lambda response: response.status_code < 400) +@limiter.limit("99999/day", deduct_when=lambda response: response.status_code < 400, key_func=get_ID) @auth_required def remove_report_post(v, pid, uid): report = g.db.query(Report).filter_by(post_id=pid, user_id=uid).one_or_none()