Skip to content

Commit

Permalink
Merge pull request #40 from maykinmedia/fix/missing-headers
Browse files Browse the repository at this point in the history
🐛 Missing headers for second page
  • Loading branch information
svenvandescheur authored May 17, 2024
2 parents 4593d23 + 584e811 commit b2ed9ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/src/openarchiefbeheer/zaken/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2ed9ed

Please sign in to comment.