From 6da45f5e7cefa089f47b7004bf3363bda42ee54d Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Mon, 25 Nov 2024 16:15:21 +0000 Subject: [PATCH] reverse check in serverlog step --- packages/server/src/automations/steps/serverLog.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/automations/steps/serverLog.ts b/packages/server/src/automations/steps/serverLog.ts index ce9cb9aaf8..d0702ab3eb 100644 --- a/packages/server/src/automations/steps/serverLog.ts +++ b/packages/server/src/automations/steps/serverLog.ts @@ -61,7 +61,7 @@ export async function run({ inputs: ServerLogStepInputs appId: string }): Promise { - if (typeof inputs.text === "object") { + if (typeof inputs.text !== "string") { inputs.text = JSON.stringify(inputs.text) } const message = `App ${appId} - ${inputs.text}`