diff --git a/tipg/factory.py b/tipg/factory.py index 3a8c5edb..5442ea41 100644 --- a/tipg/factory.py +++ b/tipg/factory.py @@ -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 @@ -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", )