From 7cf20ef16c861a11f1079851ac8ac55a5433ca2e Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 13 Dec 2024 17:11:35 +0000 Subject: [PATCH] Fixing query row. --- packages/server/src/automations/steps/queryRows.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/automations/steps/queryRows.ts b/packages/server/src/automations/steps/queryRows.ts index dc4dda4482..923f2efd8b 100644 --- a/packages/server/src/automations/steps/queryRows.ts +++ b/packages/server/src/automations/steps/queryRows.ts @@ -152,7 +152,7 @@ export async function run({ return { rows, - success: ctx.status === 200, + success: !!ctx.body.rows, } } catch (err) { return {