Webpack build for branch master: ec5da9e6ad

This commit is contained in:
Travis CI 2017-05-21 19:16:13 +00:00
parent 2ad6d4465b
commit 8db93e7803
2 changed files with 3 additions and 3 deletions

View file

@ -17609,7 +17609,7 @@ class Client extends EventEmitter {
* @returns {Promise<Webhook>}
*/
fetchWebhook(id, token) {
return this.api.webhooks(id, token).get().then(data => new Webhook(this.client, data));
return this.api.webhooks(id, token).get().then(data => new Webhook(this, data));
}
/**
@ -17667,7 +17667,7 @@ class Client extends EventEmitter {
*/
fetchApplication(id = '@me') {
return this.rest.api.oauth2.applications(id).get()
.then(app => new OAuth2Application(this.client, app));
.then(app => new OAuth2Application(this, app));
}
/**

File diff suppressed because one or more lines are too long