Skip to content

Commit 195cb7d

Browse files
committed
🐛 [#156] Use json format for updating zaak
1 parent 5ab16fb commit 195cb7d

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)