Skip to content

Commit 6f6d95e

Browse files
committed
🐛 [#298] Remove extra params
The params of the initial request are kept in the URL, so before this fix they would be added again for each page. This meant that for retrieving many pages the URL would eventually grow waaay too big
1 parent fca0a62 commit 6f6d95e

File tree

1 file changed

+0
-4
lines changed
  • backend/src/openarchiefbeheer/zaken

1 file changed

+0
-4
lines changed

backend/src/openarchiefbeheer/zaken/tasks.py

-4
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ def retrieve_and_cache_zaken_from_openzaak() -> None:
3737
zrc_client,
3838
response.json(),
3939
headers={"Accept-Crs": "EPSG:4326"},
40-
params={
41-
"expand": "resultaat,resultaat.resultaattype,zaaktype,rollen",
42-
"archiefnominatie": "vernietigen",
43-
},
4440
timeout=settings.REQUESTS_DEFAULT_TIMEOUT,
4541
)
4642

0 commit comments

Comments
 (0)