Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
dti-deploy committed Aug 13, 2019
2 parents ce23480 + 3f3d183 commit 71ccccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gateway_selector/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

__version__ = '1.0.5'
__version__ = '1.0.6'

Original file line number Diff line number Diff line change
Expand Up @@ -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()
frappe.db.commit()

0 comments on commit 71ccccd

Please sign in to comment.