Fix hello asso check

This commit is contained in:
Yohann D'ANELLO 2021-03-15 10:07:59 +01:00
parent f8d38738ea
commit 049234caae
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class Command(BaseCommand):
self.stderr.write(f"Error while querying Hello Asso: {message}")
return
for payment in response:
for payment in response["data"]:
if payment["state"] != "Authorized":
continue