Skip to content

Conversation

@itariv
Copy link
Collaborator

@itariv itariv commented Nov 5, 2025

…ollection

@medusajs
Copy link

medusajs bot commented Nov 5, 2025

Name Deployment Status Preview Link Timestamp
Mercur-Testing 🔵 Pending Increase previews limit Wed, 05 Nov 2025 14:30:33 GMT

const { add = [], remove = [] } = req.validatedBody

const workflow = batchLinkProductsToCollectionWorkflow(req.scope)
await workflow.run({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe something like that

 await batchLinkProductsToCollectionWorkflow.run({
    container: req.scope
    input: {
      id,
      add,
      remove,
    },
  })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants