fix(package): update @octokit/rest to version 15.2.0 (#457)

This commit is contained in:
greenkeeper[bot]
2018-03-15 00:00:22 -05:00
committed by Brandon Keepers
parent 24aec79be5
commit 5898da7f50
2 changed files with 2 additions and 3 deletions

View File

@@ -139,8 +139,7 @@ class Robot {
async auth (id, log = this.log) {
const github = new GitHubApi({
debug: process.env.LOG_LEVEL === 'trace',
host: process.env.GHE_HOST || 'api.github.com',
pathPrefix: process.env.GHE_HOST ? '/api/v3' : '',
baseUrl: process.env.GHE_HOST && `https://${process.env.GHE_HOST}/api/v3`,
logger: log.child({name: 'github', installation: id})
})

View File

@@ -23,7 +23,7 @@
"author": "Brandon Keepers",
"license": "ISC",
"dependencies": {
"@octokit/rest": "15.1.9",
"@octokit/rest": "15.2.0",
"bottleneck": "^2.2.0",
"bunyan": "^1.8.12",
"bunyan-format": "^0.2.1",