Add snippet context before executing automations
This commit is contained in:
parent
28d938ba3e
commit
3b54daf2c8
|
@ -129,7 +129,10 @@ export async function doInAutomationContext<T>(params: {
|
|||
appId: params.appId,
|
||||
automationId: params.automationId,
|
||||
},
|
||||
params.task
|
||||
async () => {
|
||||
await ensureSnippetContext()
|
||||
return await params.task()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue