Skip to content

Commit

Permalink
refactor(offer): remove workspace parameter from URL in production
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonlaurentino committed Jan 2, 2025
1 parent 9a97c6e commit 7cf4b9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/core/src/sdk/offer/fetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ export function getUrl(skuId: string) {
: `https://${api.storeId}.${api.environment}.com.br`
const url = new URL(`${base}/api/intelligent-search/product_search`)
url.searchParams.append('query', `sku.id:${skuId}`)
if (IS_PROD) {
url.searchParams.append('workspace', 'chrs')
}

return url.toString()
}

Expand Down

0 comments on commit 7cf4b9f

Please sign in to comment.