reverse check in serverlog step

This commit is contained in:
Peter Clement 2024-11-25 16:15:21 +00:00
parent 9f35ea0839
commit 6da45f5e7c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export async function run({
inputs: ServerLogStepInputs inputs: ServerLogStepInputs
appId: string appId: string
}): Promise<ServerLogStepOutputs> { }): Promise<ServerLogStepOutputs> {
if (typeof inputs.text === "object") { if (typeof inputs.text !== "string") {
inputs.text = JSON.stringify(inputs.text) inputs.text = JSON.stringify(inputs.text)
} }
const message = `App ${appId} - ${inputs.text}` const message = `App ${appId} - ${inputs.text}`