aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-09-14 09:05:47 +0100
committerChristopher Baines <mail@cbaines.net>2019-09-14 09:05:47 +0100
commit6a9f11fb94fbfd969396dd4d9f768a0c9ec67734 (patch)
treea53e12994e2a1a5441b15e45724a11c835285eb8
parentce5f9bb3e66c277be3ab973f20525f8178cc072a (diff)
downloaddata-service-6a9f11fb94fbfd969396dd4d9f768a0c9ec67734.tar
data-service-6a9f11fb94fbfd969396dd4d9f768a0c9ec67734.tar.gz
Fix the repository page
The repository id is expected to be a number.
-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 58b824e..423f4c0 100644
--- a/guix-data-service/web/controller.scm
+++ b/guix-data-service/web/controller.scm
@@ -835,7 +835,7 @@
(render-html
#:sxml
(view-git-repository
- id
+ (string->number id)
label url cgit-url-base
(all-branches-with-most-recent-commit conn
(string->number id)))))