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:
parent
f83cff7107
commit
5af213a165
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue