Fix triggering automations

This commit is contained in:
Andrew Kingston 2025-01-06 10:27:37 +00:00
parent d1c4c664b3
commit 4469e38ab8
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -216,11 +216,11 @@ const deleteRowHandler = async action => {
const triggerAutomationHandler = async action => {
const { fields, notificationOverride, timeout } = action.parameters
try {
const result = await API.triggerAutomation({
automationId: action.parameters.automationId,
const result = await API.triggerAutomation(
action.parameters.automationId,
fields,
timeout,
})
timeout
)
// Value will exist if automation is synchronous, so return it.
if (result.value) {