diff options
author | Christopher Baines <mail@cbaines.net> | 2024-06-24 09:59:37 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-06-24 09:59:37 +0100 |
commit | d7103eccc9c75ca3e7dcf67a72002276094b8fd4 (patch) | |
tree | f502c81f0edf9a37b1fb9e86050e404d01e0cb3f /guix-data-service/web | |
parent | eeb026b654939c3f7457f0a355757f17745a16ab (diff) | |
download | data-service-d7103eccc9c75ca3e7dcf67a72002276094b8fd4.tar data-service-d7103eccc9c75ca3e7dcf67a72002276094b8fd4.tar.gz |
Fix the arguments to most-appropriate-mime-type
Diffstat (limited to 'guix-data-service/web')
-rw-r--r-- | guix-data-service/web/controller.scm | 4 |
1 files 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) |