import { get } from "./client";
import { ENDPOINTS } from "./endpoints";
import type { HealthResponse } from "../types/response";

export async function fetchHealth(): Promise<HealthResponse> {
  return get<HealthResponse>(ENDPOINTS.health);
}
