forked from mirrors/probot
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:
parent
3bee037014
commit
1f88f432d6
|
@ -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",
|
||||
|
|
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue