From 20f4c5a77d993a38c16daabc6cc0cb9398668695 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 12 Mar 2024 21:41:00 +0000 Subject: [PATCH] Add snippet context before testing automations manually --- packages/server/src/automations/triggers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/automations/triggers.ts b/packages/server/src/automations/triggers.ts index 08e3199a11..3336211c5d 100644 --- a/packages/server/src/automations/triggers.ts +++ b/packages/server/src/automations/triggers.ts @@ -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(),