mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Fix the repositories page
This commit is contained in:
parent
de6d38016d
commit
ce1480edf4
|
@ -48,8 +48,8 @@
|
||||||
(match method-and-path-components
|
(match method-and-path-components
|
||||||
(('GET "repositories")
|
(('GET "repositories")
|
||||||
(letpar& ((git-repositories
|
(letpar& ((git-repositories
|
||||||
(with-resource-from-pool (connection-pool) conn
|
(call-with-resource-from-pool (connection-pool)
|
||||||
all-git-repositories)))
|
all-git-repositories)))
|
||||||
(case (most-appropriate-mime-type
|
(case (most-appropriate-mime-type
|
||||||
'(application/json text/html)
|
'(application/json text/html)
|
||||||
mime-types)
|
mime-types)
|
||||||
|
|
Loading…
Reference in a new issue