forked from mirrors/probot
Enable debug mode for GitHub Client
This commit is contained in:
parent
3ba3bdc398
commit
3a5b497101
|
@ -8,7 +8,9 @@ const Dispatcher = require('./lib/dispatcher');
|
|||
const PORT = process.env.PORT || 3000;
|
||||
const webhook = createHandler({path: '/', secret: process.env.WEBHOOK_SECRET || 'development'});
|
||||
|
||||
const github = new GitHubApi();
|
||||
const github = new GitHubApi({
|
||||
debug: true
|
||||
});
|
||||
github.authenticate({
|
||||
type: 'oauth',
|
||||
token: process.env.GITHUB_TOKEN
|
||||
|
|
Loading…
Reference in New Issue