Skip to content
Snippets Groups Projects
Commit 6f9971f4 authored by Marco Malavolti's avatar Marco Malavolti
Browse files

Fixed JSON API - 'getSimpleDict' instead of 'getsimpledict'

parent acc79061
Branches
Tags v1.0.2
No related merge requests found
......@@ -143,14 +143,14 @@ class EccsResults(Resource):
elif (reg_auth and status):
if (reg_auth == aux['registrationAuthority'] and status == aux['status']):
if (simple):
auxsimple = getsimpledict(aux)
auxsimple = getSimpleDict(aux)
results.append(auxsimple)
else:
results.append(aux)
elif (reg_auth and check_result):
if (reg_auth == aux['registrationAuthority'] and (check_result == aux['sp1']['checkResult'] or check_result == aux['sp2']['checkResult'])):
if (simple):
auxsimple = getsimpledict(aux)
auxsimple = getSimpleDict(aux)
results.append(auxsimple)
else:
results.append(aux)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment