Skip to content

Commit

Permalink
fixfixfix
Browse files Browse the repository at this point in the history
  • Loading branch information
guitavano committed Oct 30, 2024
1 parent fdf3a27 commit acade89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vtex/loaders/orders/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function loader(
const { slug } = props;

const response = await vcs["GET /api/oms/user/orders/:orderId"](
{ orderId: slug + "-01" },
{ orderId: slug.includes("-") ? slug : slug + "-01" },
{
headers: {
cookie,
Expand Down

0 comments on commit acade89

Please sign in to comment.