Skip to content

Commit

Permalink
Two more orjson.dumps cases I forgot to change
Browse files Browse the repository at this point in the history
  • Loading branch information
Remco Meeuwissen committed Dec 14, 2023
1 parent 59a8350 commit 0c7e54f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tipg/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ async def items( # noqa: C901
# HTML Response
if output_type == MediaType.html:
return self._create_html_response(
request, orjson.dumps(data).decode(), template_name="items"
request, orjsonDumps(data).decode(), template_name="items"
)

# GeoJSONSeq Response
Expand Down Expand Up @@ -1050,7 +1050,7 @@ async def item(
if output_type == MediaType.html:
return self._create_html_response(
request,
orjson.dumps(data).decode(),
orjsonDumps(data).decode(),
template_name="item",
)

Expand Down

0 comments on commit 0c7e54f

Please sign in to comment.