Skip to content

Commit 64f4bf3

Browse files
committed
less generic token.
fixes #3
1 parent 1b98570 commit 64f4bf3

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ link below for details on obtaining and running the complete system.
1919

2020
- [Nodezoo: The complete system][System]
2121

22+
## Configuration
23+
Set the `$GITHUB_TOKEN` environment variable with a GitHub Access Token.
24+
2225
## Creating a GitHub Personal Access Token
2326

2427
- In the top right corner of any page, click your profile photo, then click Settings.

srv/start.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// your github token can be stored in an env variable named token,
44
// and will be picked up here
55

6-
var TOKEN = process.env.TOKEN || ''
6+
var GITHUB_TOKEN = process.env.GITHUB_TOKEN || ''
77

88
require('seneca')()
99
.use('entity')
10-
.use('../github.js', {token: TOKEN})
10+
.use('../github.js', {token: GITHUB_TOKEN})
1111
.add('role:info,req:part', function (args, done) {
1212
done()
1313

0 commit comments

Comments
 (0)