aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-02-28 21:53:26 +0000
committerChristopher Baines <mail@cbaines.net>2019-02-28 21:53:26 +0000
commit6d0eaab4e792188822417754a17439a54fb1ad6d (patch)
tree4070e9da851a16e034df10be5cf17175e319ba90
parent17e76b4ef16fd8fd49e40abce9b5dd7d2b128e5d (diff)
downloaddata-service-6d0eaab4e792188822417754a17439a54fb1ad6d.tar
data-service-6d0eaab4e792188822417754a17439a54fb1ad6d.tar.gz
Make the unknown JSON a bit more sensible
-rw-r--r--guix-data-service/web/controller.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/web/controller.scm b/guix-data-service/web/controller.scm
index 7db795d..3eb98e5 100644
--- a/guix-data-service/web/controller.scm
+++ b/guix-data-service/web/controller.scm
@@ -77,7 +77,7 @@
(cond
((eq? content-type 'json)
(render-json
- '((compare . #t))))
+ '((unknown_commit . #t))))
(else
(apply render-html
(compare-unknown-commit base-commit