small fix
This commit is contained in:
@@ -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,
|
||||
}
|
||||
)),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user