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:
parent
f8d38738ea
commit
049234caae
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user