From 0c7e54fd697255718b07e15ebe61b57f8246ee95 Mon Sep 17 00:00:00 2001 From: Remco Meeuwissen Date: Thu, 14 Dec 2023 14:23:39 +0100 Subject: [PATCH] Two more orjson.dumps cases I forgot to change --- tipg/factory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", )