mirror of
https://github.com/frappe/lms.git
synced 2026-04-27 19:19:26 +03:00
chore: ignore semgrep on batch details whitelisted method
This commit is contained in:
+1
-1
@@ -1089,7 +1089,7 @@ def get_neighbour_lesson(course: str, chapter: int, lesson: int) -> dict:
|
||||
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
@rate_limit(limit=500, seconds=60 * 60)
|
||||
def get_batch_details(batch: str):
|
||||
def get_batch_details(batch: str): # nosemgrep: frappe-semgrep-rules.rules.security.guest-whitelisted-method
|
||||
if not guest_access_allowed():
|
||||
return {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user