diff --git a/apps/participation/management/commands/check_hello_asso.py b/apps/participation/management/commands/check_hello_asso.py index 35e22f2..0e48b3f 100644 --- a/apps/participation/management/commands/check_hello_asso.py +++ b/apps/participation/management/commands/check_hello_asso.py @@ -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