Commit 7547fc49 authored by militarpancho's avatar militarpancho
Browse files

Change params dict structure. #42

parent 7f44f9e8
......@@ -118,11 +118,7 @@ def basic_api(f):
def api():
phelp = request.params.get('help')
if phelp == "True":
dic = {'WEB_PARAMS': WEB_PARAMS,
'CLI_PARAMS': CLI_PARAMS,
'NIF_PARAMS': NIF_PARAMS,
'API_PARAMS': API_PARAMS
}
dic = dict(API_PARAMS, **NIF_PARAMS)
response = Response(dic)
return response
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment