From 6f9971f4e405a8c7792ac751cad118ae1234fd9d Mon Sep 17 00:00:00 2001 From: Marco Malavolti <marco.malavolti@gmail.com> Date: Tue, 31 Aug 2021 13:15:38 +0200 Subject: [PATCH] Fixed JSON API - 'getSimpleDict' instead of 'getsimpledict' --- api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.py b/api.py index 30d690a..66ccb14 100755 --- a/api.py +++ b/api.py @@ -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) -- GitLab