diff --git a/gateway_selector/__init__.py b/gateway_selector/__init__.py index 2805cf3..3a59cdc 100644 --- a/gateway_selector/__init__.py +++ b/gateway_selector/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -__version__ = '1.0.5' +__version__ = '1.0.6' diff --git a/gateway_selector/gateway_selector/doctype/gateway_selector_settings/gateway_selector_settings.py b/gateway_selector/gateway_selector/doctype/gateway_selector_settings/gateway_selector_settings.py index 6f9a5f7..19f6de9 100755 --- a/gateway_selector/gateway_selector/doctype/gateway_selector_settings/gateway_selector_settings.py +++ b/gateway_selector/gateway_selector/doctype/gateway_selector_settings/gateway_selector_settings.py @@ -182,7 +182,7 @@ def build_embed_context(context, is_backend=False): context["gateway_scripts"].append(gateway.get('embed_form').get("script_url")) context["gateway_styles"].append(gateway.get('embed_form').get("style_url")) -@frappe.whitelist() +@frappe.whitelist(allow_guest=True) def update_proxy_gateway(name, gateway_service): frappe.db.set_value('Gateway Selector Proxy', name, 'gateway_service', gateway_service) - frappe.db.commit() \ No newline at end of file + frappe.db.commit()