Skip to content

Commit

Permalink
rename TOKEN to GH_TOKEN. closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Apr 6, 2018
1 parent 484b7f0 commit 22f7ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/update-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')

//
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 22f7ad4

Please sign in to comment.