Skip to content

Commit

Permalink
Removed unecesarry log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpoyatt authored and mvpoyatt committed Oct 9, 2024
1 parent 3ba1557 commit 195875b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/api/channels/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,14 @@ 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}`,
},
cache: 'no-store'
});
} else {
logger.info('No token');
res = await fetch(process.env.REGISTRY_URL!);
}

Expand Down

0 comments on commit 195875b

Please sign in to comment.