feat: whitelist api

This commit is contained in:
Shivam Mishra 2020-04-28 16:04:31 +05:30
parent 7b836e9a92
commit d445ffc458

View File

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