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 ->
|
||||
Dream.sql req (Model.exec_of_build datadir uuid)
|
||||
|> if_error "Error getting build" >>= fun exec ->
|
||||
ignore exec;
|
||||
Dream.respond ~status:`Not_Found ""
|
||||
Dream.respond ~headers:["Content-Type", "application/octet-stream"] exec
|
||||
|> Lwt_result.ok
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in a new issue