fix: Re-add rate limit on blog comments (#38862)
This commit is contained in:
parent
13230516b8
commit
1f9015a9c2
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ def get_limit():
|
|||
|
||||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
# @rate_limit(key="reference_name", limit=get_limit, seconds=60 * 60)
|
||||
@rate_limit(limit=get_limit, seconds=60 * 60)
|
||||
def add_comment(
|
||||
comment: str, comment_email: str, comment_by: str, reference_doctype: str, reference_name: str, route: str
|
||||
):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue