Skip to content
Snippets Groups Projects
Commit dd75b5be authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

http: /jobsets returns a list of jobsets.

Reported by Danny Milosavljevic.

* src/cuirass/http.scm (url-handler) <"jobsets"> Return the result of
'db-get-specifications' as-is, not just the car.
parent e5220dbe
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@
(request-path-components request)
'method-not-allowed)
(((or "jobsets" "specifications") . rest)
(respond-json (object->json-string (car (db-get-specifications db)))))
(respond-json (object->json-string (db-get-specifications db))))
(("build" build-id)
(let ((hydra-build (handle-build-request db build-id)))
(if hydra-build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment