Skip to content

Commit

Permalink
Update tools/picker/src/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sirugh authored Jan 15, 2025
1 parent 4b62eda commit ba650fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/picker/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ async function performCatalogServiceQuery(query, config, variables) {
'Magento-Website-Code': config['commerce.headers.cs.Magento-Website-Code'],
};

// set query params if provided, or fall back to header value
const apiCall = new URL(config['commerce-endpoint']);
apiCall.searchParams.append('query', query.replace(/(?:\r\n|\r|\n|\t|[\s]{4})/g, ' ')
.replace(/\s\s+/g, ' '));
Expand Down

0 comments on commit ba650fe

Please sign in to comment.