Skip to content

Commit

Permalink
Update packages/api/src/platforms/vtex/resolvers/product.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Larícia Mota <laricia.mota@vtex.com.br>
  • Loading branch information
tlgimenes and lariciamota authored Nov 3, 2021
1 parent 44f5cad commit d9986cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/platforms/vtex/resolvers/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const StoreProduct: Record<string, Resolver<Root>> = {

if (sellers == null) {
// This error will likely happen when you forget to forward the channel somewhere in your code.
// Make sure all queries that lead to a product are forwarding the channel in context corectly
// Make sure all queries that lead to a product are forwarding the channel in context correctly
throw new Error(
`Product with id ${id} has no sellers for channel ${channel}.`
)
Expand Down

0 comments on commit d9986cf

Please sign in to comment.