From e817a55660a65ff28b000d31911c3f38e3cf8a32 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 22 Apr 2025 21:35:09 +0300 Subject: [PATCH] chore(nx/server): fix api_docs_js_1.default.register is not a function --- apps/server/src/routes/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }