Skip to content

Commit

Permalink
fix: allow POST requests on Raven get_list API
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkothari22 committed Jun 14, 2024
1 parent 72abeb9 commit 7a5372c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raven/api/raven_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_current_raven_user():
return frappe.get_cached_doc("Raven User", {"user": frappe.session.user})


@frappe.whitelist(methods=["GET"])
@frappe.whitelist()
@frappe.read_only()
def get_list():
"""
Expand Down

0 comments on commit 7a5372c

Please sign in to comment.