aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-07-19 17:40:41 +0100
committerChristopher Baines <mail@cbaines.net>2023-07-19 17:40:41 +0100
commitce1480edf44a7d2db30a05eb47ad812c00839659 (patch)
tree14cc9c5acd2ddca39d9dd16039bc6a254eb441fb
parentde6d38016d0392327e43393e45320799ffa0fadf (diff)
downloaddata-service-ce1480edf44a7d2db30a05eb47ad812c00839659.tar
data-service-ce1480edf44a7d2db30a05eb47ad812c00839659.tar.gz
Fix the repositories page
-rw-r--r--guix-data-service/web/repository/controller.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-data-service/web/repository/controller.scm b/guix-data-service/web/repository/controller.scm
index 6724d6f..375ea23 100644
--- a/guix-data-service/web/repository/controller.scm
+++ b/guix-data-service/web/repository/controller.scm
@@ -48,8 +48,8 @@
(match method-and-path-components
(('GET "repositories")
(letpar& ((git-repositories
- (with-resource-from-pool (connection-pool) conn
- all-git-repositories)))
+ (call-with-resource-from-pool (connection-pool)
+ all-git-repositories)))
(case (most-appropriate-mime-type
'(application/json text/html)
mime-types)