diff --git a/bin/update-server.js b/bin/update-server.js index eb6f43ef..a03ed3e3 100755 --- a/bin/update-server.js +++ b/bin/update-server.js @@ -14,7 +14,7 @@ const assert = require('assert') // Args // -const { TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env +const { GH_TOKEN: token, REDIS_URL: redisUrl, PORT: port = 3000 } = process.env assert(token, 'TOKEN required') // diff --git a/test/index.js b/test/index.js index 432b6075..e7e0bfad 100644 --- a/test/index.js +++ b/test/index.js @@ -4,7 +4,7 @@ const { test } = require('tap') const fetch = require('node-fetch') const Updates = require('..') -const { TOKEN: token } = process.env +const { GH_TOKEN: token } = process.env const cache = 100