chore: add ok/service fields to readiness response for consistency

Matches the response shape used by all other services in the
infrastructure (ok, service, cause on failure).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alan Kahn 2026-03-03 10:26:40 -05:00
parent c12cde46e8
commit 16214ebfcb

View File

@ -421,7 +421,8 @@ async fn health(
Ok((
StatusCode::OK,
Json(serde_json::json!({
"status": "ok",
"ok": true,
"service": "tidaldb",
"mode": "standalone",
"items": items,
})),