Skip to content

Commit 0c7e54f

Browse files
author
Remco Meeuwissen
committed
Two more orjson.dumps cases I forgot to change
1 parent 59a8350 commit 0c7e54f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tipg/factory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ async def items( # noqa: C901
886886
# HTML Response
887887
if output_type == MediaType.html:
888888
return self._create_html_response(
889-
request, orjson.dumps(data).decode(), template_name="items"
889+
request, orjsonDumps(data).decode(), template_name="items"
890890
)
891891

892892
# GeoJSONSeq Response
@@ -1050,7 +1050,7 @@ async def item(
10501050
if output_type == MediaType.html:
10511051
return self._create_html_response(
10521052
request,
1053-
orjson.dumps(data).decode(),
1053+
orjsonDumps(data).decode(),
10541054
template_name="item",
10551055
)
10561056

0 commit comments

Comments
 (0)