From 365690e16ef5b6ca9576ab1cec6b76925a0b2db8 Mon Sep 17 00:00:00 2001 From: Nick Aguilar Date: Wed, 17 Jul 2024 15:09:14 -0700 Subject: [PATCH] Can pass dynamicFieldContext & paging into local server request --- packages/cli/src/lib/server.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/lib/server.ts b/packages/cli/src/lib/server.ts index 8a68fa4aa9..20880b222a 100644 --- a/packages/cli/src/lib/server.ts +++ b/packages/cli/src/lib/server.ts @@ -403,7 +403,8 @@ function setupRoutes(def: DestinationDefinition | null): void { page: req.body.page || 1, auth: req.body.auth || {}, audienceSettings: req.body.audienceSettings || {}, - hookInputs: req.body.hookInputs || {} + hookInputs: req.body.hookInputs || {}, + dynamicFieldContext: req.body.dynamicFieldContext || {} } const action = destination.actions[actionSlug] const dynamicFn = dynamicInputs[fieldKey] as RequestFn