Update octokit rest (#721)

* chore(package): update @octokit/rest to version 15.13.0

* use the number id not string
This commit is contained in:
Bex Warner 2018-10-06 14:59:50 -04:00 committed by GitHub
parent 3bee037014
commit 1f88f432d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@
"author": "Brandon Keepers",
"license": "ISC",
"dependencies": {
"@octokit/rest": "^15.11.0",
"@octokit/rest": "^15.13.0",
"@octokit/webhooks": "^5.0.2",
"@types/supports-color": "^5.3.0",
"bottleneck": "^2.8.0",

View File

@ -199,7 +199,7 @@ export class Application {
log.trace(`creating token for installation`)
github.authenticate({ type: 'app', token: this.app() })
return github.apps.createInstallationToken({ installation_id: String(id) })
return github.apps.createInstallationToken({ installation_id: id })
}, { ttl: installationTokenTTL })
github.authenticate({ type: 'token', token: res.data.token })