reverse check in serverlog step
This commit is contained in:
parent
9f35ea0839
commit
6da45f5e7c
|
@ -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}`
|
||||||
|
|
Loading…
Reference in New Issue