Skip to content

Commit df5723e

Browse files
authored
Merge pull request #159 from maykinmedia/fix/156-wrong-format
[#156] Use json format for updating zaak
2 parents a879d89 + 195cb7d commit df5723e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/openarchiefbeheer/zaken/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def update_data(self, data: dict) -> None:
122122
"Accept-Crs": "EPSG:4326",
123123
"Content-Crs": "EPSG:4326",
124124
},
125-
data=data,
125+
json=data,
126126
timeout=settings.REQUESTS_DEFAULT_TIMEOUT,
127127
)
128128
response.raise_for_status()

0 commit comments

Comments
 (0)