Actually return the builder exec data
This commit is contained in:
parent
a870894475
commit
76ab741344
1 changed files with 1 additions and 2 deletions
|
@ -522,8 +522,7 @@ let routes ~datadir ~cachedir ~configdir ~expired_jobs =
|
||||||
get_uuid build >>= fun uuid ->
|
get_uuid build >>= fun uuid ->
|
||||||
Dream.sql req (Model.exec_of_build datadir uuid)
|
Dream.sql req (Model.exec_of_build datadir uuid)
|
||||||
|> if_error "Error getting build" >>= fun exec ->
|
|> if_error "Error getting build" >>= fun exec ->
|
||||||
ignore exec;
|
Dream.respond ~headers:["Content-Type", "application/octet-stream"] exec
|
||||||
Dream.respond ~status:`Not_Found ""
|
|
||||||
|> Lwt_result.ok
|
|> Lwt_result.ok
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue