Remove some peek calls that have crept in

This commit is contained in:
Christopher Baines 2019-06-16 14:21:34 +01:00
parent 32ff341089
commit b1c0ec6c97
2 changed files with 1 additions and 2 deletions

View file

@ -579,7 +579,6 @@
(first
(count-guix-revisions conn)))))))
(lambda (key . args)
(peek key args)
#f))))
(render-json
`((status . ,(if database-status

View file

@ -184,7 +184,7 @@
`((value ,(value->text value)))))
((_key . value)
(if (string=? type "checkbox")
(if (peek "VALUE" value)
(if value
'((checked #t))
'())
`((value ,(value->text value)))))))))