fix: Re-add rate limit on blog comments (#38862)

This commit is contained in:
Ankush Menat 2026-04-24 10:39:14 +05:30 committed by GitHub
parent 13230516b8
commit 1f9015a9c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
):