diff --git a/apps/server/src/routes/routes.ts b/apps/server/src/routes/routes.ts index 082e05cd0..2707c3cd8 100644 --- a/apps/server/src/routes/routes.ts +++ b/apps/server/src/routes/routes.ts @@ -431,7 +431,7 @@ function register(app: express.Application) { apiRoute(GET, "/api/llm/providers/anthropic/models", anthropicRoute.listModels); // API Documentation - apiDocsRoute.register(app); + apiDocsRoute(app); app.use("", router); }