We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d29c354 commit fa0db35Copy full SHA for fa0db35
src/content/loaders/github.ts
@@ -63,7 +63,7 @@ export function githubLoader(options: {
63
const { org, teams, token } = options;
64
const BASE_URL = 'https://api.github.com';
65
const allTeams = [];
66
- if (token === undefined) {
+ if (token === undefined || token === '' || token === null || token === 'undefined') {
67
logger.error('No token provided');
68
return;
69
}
0 commit comments