Adding more logging to server log for cloud etc.

This commit is contained in:
mike12345567 2022-07-28 11:14:06 +01:00
parent 8048c1fe93
commit 90b61cd3ca
1 changed files with 8 additions and 2 deletions

View File

@ -31,15 +31,21 @@ exports.definition = {
type: "boolean",
description: "Whether the action was successful",
},
message: {
type: "string",
description: "What was output",
},
},
required: ["success"],
required: ["success", "message"],
},
},
}
exports.run = async function ({ inputs, appId }) {
console.log(`App ${appId} - ${inputs.text}`)
const message = `App ${appId} - ${inputs.text}`
console.log(message)
return {
success: true,
message,
}
}