From beaabdd64a392a0943a9f7be3965e62919395aea Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 25 Jul 2024 15:54:38 +0200 Subject: [PATCH] Allow row actions running for dev apps --- packages/server/src/api/routes/rowAction.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/server/src/api/routes/rowAction.ts b/packages/server/src/api/routes/rowAction.ts index 3fa7709e96..c84d94c007 100644 --- a/packages/server/src/api/routes/rowAction.ts +++ b/packages/server/src/api/routes/rowAction.ts @@ -4,11 +4,6 @@ import { middleware, permissions } from "@budibase/backend-core" import * as rowActionController from "../controllers/rowAction" import { authorizedResource } from "../../middleware/authorized" -import { - middleware as appInfoMiddleware, - AppType, -} from "../../middleware/appInfo" - const { PermissionLevel, PermissionType } = permissions function rowActionValidator() { @@ -59,7 +54,6 @@ router // Other endpoints .post( "/api/tables/:tableId/actions/:actionId/trigger", - appInfoMiddleware({ appType: AppType.PROD }), rowTriggerValidator(), authorizedResource(PermissionType.TABLE, PermissionLevel.READ, "tableId"), rowActionController.run