use crate::{SERVICE_NAME, registrations::AppState};
use axum::{Json, routing::any};
use forklaunch_billing_stripe::http::Handler;
use serde_json::{Value, json};
pub fn get_health(_state: &AppState) -> Handler {
any(health)
}
async fn health() -> Json<Value> {
Json(json!({"service": SERVICE_NAME, "status": "ok"}))
}