Merge branch 'main' into feature/admin
Some checks failed
.NET / Build & Test (push) Failing after 1m7s

This commit is contained in:
Oliver Booth 2024-03-16 18:09:28 +00:00
commit 9ea4425c26
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5
2 changed files with 4 additions and 4 deletions

View File

@ -74,10 +74,10 @@ public sealed class BadgeController : ControllerBase
_ => "unknown" _ => "unknown"
}; };
return Ok(new { color, message }); return Ok(new { schemaVersion = 1, label = "build", color, message });
} }
return Ok(new { color = "lightgray", message = "unknown" }); return Ok(new { schemaVersion = 1, label = "build", color = "lightgray", message = "unknown" });
} }
private class WorkflowRunSchema private class WorkflowRunSchema

View File

@ -74,10 +74,10 @@ public sealed class BadgeController : ControllerBase
_ => "unknown" _ => "unknown"
}; };
return Ok(new { color, message }); return Ok(new { schemaVersion = 1, label = "build", color, message });
} }
return Ok(new { color = "lightgray", message = "unknown" }); return Ok(new { schemaVersion = 1, label = "build", color = "lightgray", message = "unknown" });
} }
private class WorkflowRunSchema private class WorkflowRunSchema