Use job_name->job, not job_name->name

This commit is contained in:
Reynir Björnsson 2025-01-06 15:59:07 +01:00
parent 420c587ee5
commit 51d8135ed6

View file

@ -411,7 +411,7 @@ let routes ~datadir ~cachedir ~configdir ~expired_jobs =
if is_accept_json req then if is_accept_json req then
let json_response = let json_response =
`Assoc [ `Assoc [
"name", `String job_name; "job", `String job_name;
"uuid", `String (Uuidm.to_string build.uuid); "uuid", `String (Uuidm.to_string build.uuid);
"platform", `String build.platform; "platform", `String build.platform;
"start_time", `String (Ptime.to_rfc3339 build.start); "start_time", `String (Ptime.to_rfc3339 build.start);