From 2a4db7476f1a7c6b59f79968c67ecef8a89fe763 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 30 Sep 2022 07:22:22 +0100 Subject: [PATCH] Fix the graph rendering --- core/views/ui/drilldown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/ui/drilldown.py b/core/views/ui/drilldown.py index db1f06c..ab01165 100644 --- a/core/views/ui/drilldown.py +++ b/core/views/ui/drilldown.py @@ -94,7 +94,7 @@ def make_graph(results): "date": date, } ) - return orjson.dumps(graph) + return orjson.dumps(graph).decode("utf-8") def drilldown_search(request, return_context=False, template=None):