feat: whitelist api
This commit is contained in:
parent
7b836e9a92
commit
d445ffc458
@ -64,7 +64,7 @@ def get_member_based_on_subscription(subscription_id, email):
|
||||
}, order_by="creation desc")
|
||||
return frappe.get_doc("Member", members[0]['name'])
|
||||
|
||||
@frappe.whitelist()
|
||||
@frappe.whitelist(allow_guest=True)
|
||||
def trigger_razorpay_subscription(data):
|
||||
if isinstance(data, six.string_types):
|
||||
data = json.loads(data)
|
||||
|
Loading…
Reference in New Issue
Block a user