Skip to content

Commit

Permalink
Can pass dynamicFieldContext & paging into local server request
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-Ag committed Jul 17, 2024
1 parent 037534c commit 365690e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<any, any, any, any>
Expand Down

0 comments on commit 365690e

Please sign in to comment.