Skip to content

Commit

Permalink
fix(core-flows): create return items (#8227)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-r-l-rodrigues authored Jul 22, 2024
1 parent 037ddd2 commit 3772b80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const createReturnItemsStep = createStep(

const returnItems = input.changes.map((item) => {
return {
return_id: item.reference_id,
return_id: input.returnId,
item_id: item.details?.reference_id,
reason_id: item.details?.reason_id,
quantity: item.details?.quantity as number,
Expand Down

0 comments on commit 3772b80

Please sign in to comment.