diff --git a/app/api/channels/helpers.ts b/app/api/channels/helpers.ts index 177aca4..b97de5b 100644 --- a/app/api/channels/helpers.ts +++ b/app/api/channels/helpers.ts @@ -136,10 +136,7 @@ async function fetchRegistry() { try { let res; - logger.info(process.env.REGISTRY_URL); - if (process.env.GITHUB_TOKEN) { - logger.info('Using GitHub token for polymer-registry'); res = await fetch(process.env.REGISTRY_URL!, { headers: { Authorization: `token ${process.env.GITHUB_TOKEN}`, @@ -147,12 +144,11 @@ async function fetchRegistry() { cache: 'no-store' }); } else { - logger.info('No token'); res = await fetch(process.env.REGISTRY_URL!); } if (!res.ok) { - logger.error('Error from polymer-registry call: ' + res.statusText); + logger.error('Error fetching polymer-registry: ' + res.statusText); return {}; } data = await res.json();