Skip to content

Commit ac951bd

Browse files
authored
Update updateReadme.js
1 parent 5e271fe commit ac951bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

profile/scripts/updateReadme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const https = require('https');
55
const path = require('path');
66

77
const ORG = 'ReactSphere';
8-
const TOKEN = process.env.GITHUB_TOKEN;
8+
const TOKEN = process.env.PAT_TOKEN;
99
const README_PATH = path.join(__dirname, '..', 'README.md');
1010
const TOP_N = 10;
1111

@@ -48,7 +48,7 @@ async function getAllPages(apiPath) {
4848

4949
async function main() {
5050
if (!TOKEN) {
51-
console.error('GITHUB_TOKEN is not set');
51+
console.error('PAT_TOKEN is not set');
5252
process.exit(1);
5353
}
5454

0 commit comments

Comments
 (0)