From d7103eccc9c75ca3e7dcf67a72002276094b8fd4 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 24 Jun 2024 09:59:37 +0100 Subject: [PATCH] Fix the arguments to most-appropriate-mime-type --- guix-data-service/web/controller.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm index a20e761..5d0a651 100644 --- a/guix-data-service/web/controller.scm +++ b/guix-data-service/web/controller.scm @@ -719,8 +719,8 @@ #:on-error 'backtrace #:post-error (lambda args (case (most-appropriate-mime-type - '(application/json text/html) - mime-types) + mime-types + '(text/html application/json)) ((application/json) (render-json `((error . ,(if (%show-error-details) (simple-format #f "~A" args)