Skip to content

Commit

Permalink
remove params
Browse files Browse the repository at this point in the history
  • Loading branch information
guitavano committed Mar 21, 2024
1 parent bde0196 commit 65610ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vtex/loaders/legacy/productListingPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,13 @@ const loader = async (
const [vtexProductsResponse, vtexFacets] = await Promise.all([
vcsDeprecated["GET /api/catalog_system/pub/products/search/:term?"](
{
...params,
...args,
term: getTerm(term, map),
},
{ ...STALE, headers: withSegmentCookie(segment) },
),
vcsDeprecated["GET /api/catalog_system/pub/facets/search/:term"](
{
...params,
...args,
term: getTerm(term, fmap),
map: fmap,
Expand Down

0 comments on commit 65610ef

Please sign in to comment.