diff --git a/spoolman/api/v1/router.py b/spoolman/api/v1/router.py index 62c0955..6915b5c 100644 --- a/spoolman/api/v1/router.py +++ b/spoolman/api/v1/router.py @@ -36,7 +36,7 @@ async def itemnotfounderror_exception_handler(_request: Request, exc: ItemNotFou @app.get("/health") async def health() -> models.HealthCheck: """Return a health check.""" - return {"status": "healthy"} + return models.HealthCheck(status="healthy") app.include_router(filament.router)