From c8ae2835fa33a5f3cb93522515f6c4be0eeeb515 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Thu, 8 May 2025 07:57:20 -0400 Subject: [PATCH] fix json handling in template --- www/kojiweb/templates/reporequest.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/kojiweb/templates/reporequest.html.j2 b/www/kojiweb/templates/reporequest.html.j2 index dc90c089..9430c70d 100644 --- a/www/kojiweb/templates/reporequest.html.j2 +++ b/www/kojiweb/templates/reporequest.html.j2 @@ -19,7 +19,7 @@ Repo request {{ req_id }} not found. Invalid eventUnable to determine event for request #endif #if req.opts - Options{{ json.dumps(req.opts, indent=4) }} + Options{{ req.opts | tojson(indent=4) }} #endif #if req.repo_id Fulfilled by repo{{ req.repo_id }}