Add snippet context before testing automations manually

This commit is contained in:
Andrew Kingston 2024-03-12 21:41:00 +00:00
parent 3b54daf2c8
commit 20f4c5a77d
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ export async function externalTrigger(
const data: AutomationData = { automation, event: params as any }
if (getResponses) {
await context.ensureSnippetContext()
data.event = {
...data.event,
appId: context.getAppId(),