2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

Include if data is available in the JSON response for a branch

This commit is contained in:
Christopher Baines 2020-04-24 18:54:12 +01:00
parent f83cff7107
commit 5af213a165

View file

@ -88,9 +88,10 @@
`((revisions
. ,(list->vector
(map (match-lambda
((commit-hash date _ _)
`((date . ,date)
(commit-hash . ,commit-hash))))
((commit-hash date revision-exists? _)
`((date . ,date)
(commit-hash . ,commit-hash)
(data_available . ,revision-exists?))))
revisions))))))
(else
(render-html