Skip to content

Commit b2a0df7

Browse files
committed
fix: cleanup
1 parent ee83a69 commit b2a0df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { resolveConfig } from './config.js';
2323
* @param {Config} config
2424
*/
2525
async function fetchProductCS(sku, config) {
26-
console.log('config: ', config);
2726
const { catalogEndpoint = 'https://catalog-service.adobe.io/graphql' } = config;
2827
const query = getProductQueryCS({ sku });
2928
const resp = await fetch(`${catalogEndpoint}?query=${encodeURIComponent(query)}`, {
@@ -207,6 +206,7 @@ export default {
207206
try {
208207
const overrides = Object.fromEntries(ctx.url.searchParams.entries());
209208
const config = await resolveConfig(ctx, tenant, overrides);
209+
console.debug('resolved config: ', JSON.stringify(config, undefined, 2));
210210
if (!config) {
211211
return errorResponse(404, 'config not found');
212212
}

0 commit comments

Comments
 (0)