From 51d8135ed61e9b4c7d4fc3f04039b4df2157246f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Mon, 6 Jan 2025 15:59:07 +0100 Subject: [PATCH] Use job_name->job, not job_name->name --- lib/builder_web.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder_web.ml b/lib/builder_web.ml index 07010db..de2a7c1 100644 --- a/lib/builder_web.ml +++ b/lib/builder_web.ml @@ -411,7 +411,7 @@ let routes ~datadir ~cachedir ~configdir ~expired_jobs = if is_accept_json req then let json_response = `Assoc [ - "name", `String job_name; + "job", `String job_name; "uuid", `String (Uuidm.to_string build.uuid); "platform", `String build.platform; "start_time", `String (Ptime.to_rfc3339 build.start);