diff --git a/backend/src/openarchiefbeheer/zaken/tasks.py b/backend/src/openarchiefbeheer/zaken/tasks.py index 19f665d0f..0e37b892b 100644 --- a/backend/src/openarchiefbeheer/zaken/tasks.py +++ b/backend/src/openarchiefbeheer/zaken/tasks.py @@ -24,7 +24,9 @@ def retrieve_and_cache_zaken_from_openzaak() -> None: ) response.raise_for_status() - data_iterator = pagination_helper(zrc_client, response.json()) + data_iterator = pagination_helper( + zrc_client, response.json(), headers={"Accept-Crs": "EPSG:4326"} + ) with transaction.atomic(): # Removing existing cached zaken