Skip to content

Commit

Permalink
fix promotions (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes authored May 12, 2022
1 parent e725af7 commit 5779658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/platforms/vtex/resolvers/offer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const StoreOffer: Record<string, Resolver<Root>> = {
}

if (isOrderFormItem(root)) {
return root.price / 1e2
return root.sellingPrice / 1e2
}

return null
Expand Down

1 comment on commit 5779658

@vercel
Copy link

@vercel vercel bot commented on 5779658 May 12, 2022

Choose a reason for hiding this comment

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

Please sign in to comment.