Change params dict structure. #42

pre-1.0
militarpancho 7 years ago
parent 7f44f9e85d
commit 7547fc49af

@ -118,11 +118,7 @@ def basic_api(f):
def api(): def api():
phelp = request.params.get('help') phelp = request.params.get('help')
if phelp == "True": if phelp == "True":
dic = {'WEB_PARAMS': WEB_PARAMS, dic = dict(API_PARAMS, **NIF_PARAMS)
'CLI_PARAMS': CLI_PARAMS,
'NIF_PARAMS': NIF_PARAMS,
'API_PARAMS': API_PARAMS
}
response = Response(dic) response = Response(dic)
return response return response
else: else:

Loading…
Cancel
Save