small fix

This commit is contained in:
2025-08-15 18:09:09 -04:00
parent 611301dfda
commit 34a6f211de
2 changed files with 15 additions and 2 deletions

View File

@@ -102,7 +102,10 @@ curl http://127.0.0.1:3000/health
```json
{
"status": "ok"
"message": "health check successful",
"data": {},
"success": true,
"error": false
}
```

View File

@@ -6,5 +6,15 @@ use axum::response::IntoResponse;
use serde_json::json;
pub async fn health() -> impl IntoResponse {
(StatusCode::OK, Json(json!({ "status": "ok" })))
(
StatusCode::OK,
Json(json!(
{
"message": "health check successful",
"data": {},
"success": true,
"error": false,
}
)),
)
}