From cf9db91ffb92c898038cb7b6e2eee17775df5c16 Mon Sep 17 00:00:00 2001 From: Felipe Orellana Date: Fri, 9 Aug 2019 09:05:18 -0400 Subject: [PATCH 1/2] fix: api access Fixes gateway unable to reach api to update gateway proxy service field. --- .../gateway_selector_settings/gateway_selector_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() From 3f3d18342adf4f32559f759e031a7a3b1aaf2317 Mon Sep 17 00:00:00 2001 From: Release Bot Date: Tue, 13 Aug 2019 02:00:07 +0000 Subject: [PATCH 2/2] bumped to version 1.0.6 --- gateway_selector/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'