bug fix (POST) api)

master
Steve Nyemba 10 months ago
parent 64cfe1d630
commit 576e5d918a

@ -142,11 +142,13 @@ def _getproxy(module,name) :
def _post (module,name): def _post (module,name):
# global _config # global _config
global _route global _route
_config = _route.get().config() _handler = _route.get()
_plugins = _route.plugins() _config = _handler.config()
_plugins = _handler.plugins()
uri = '/'.join(['api',module,name]) uri = '/'.join(['api',module,name])
_args = request.json _args = request.json
_args['config'] = _config
code = 404 code = 404
_info = "" _info = ""

Loading…
Cancel
Save