From dfda2f0f548909bf67cd63d729b11612aa964b52 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 10 Jul 2024 13:22:28 +0200 Subject: [PATCH] Register router --- packages/server/src/api/routes/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/api/routes/index.ts b/packages/server/src/api/routes/index.ts index 5a42c258cf..2079eb01fd 100644 --- a/packages/server/src/api/routes/index.ts +++ b/packages/server/src/api/routes/index.ts @@ -28,6 +28,7 @@ import opsRoutes from "./ops" import debugRoutes from "./debug" import Router from "@koa/router" import { api as pro } from "@budibase/pro" +import rowActionRoutes from "./rowAction" export { default as staticRoutes } from "./static" export { default as publicRoutes } from "./public" @@ -65,6 +66,7 @@ export const mainRoutes: Router[] = [ opsRoutes, debugRoutes, environmentVariableRoutes, + rowActionRoutes, // these need to be handled last as they still use /api/:tableId // this could be breaking as koa may recognise other routes as this tableRoutes,