Mark some import handlers as safe for web app

This commit is contained in:
Lance Edgar 2021-12-06 21:29:56 -06:00
parent 3140245857
commit 9045965035
2 changed files with 2 additions and 0 deletions

View file

@ -56,6 +56,7 @@ class FromRattailToCore(importing.FromRattailHandler, ToCOREAPIHandler):
Rattail -> CORE-POS export handler
"""
direction = 'export'
safe_for_web_app = True
def get_importers(self):
importers = OrderedDict()

View file

@ -51,6 +51,7 @@ class FromCOREPOSToRattail(importing.ToRattailHandler):
host_key = 'corepos_api'
generic_host_title = "CORE Office (API)"
host_title = "CORE-POS (API)"
safe_for_web_app = True
def get_importers(self):
importers = OrderedDict()