1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 07:02:24 +00:00

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

View File

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