mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
renamed OAuth2Application#reset to resetSecret and added resetToken (#1541)
This commit is contained in:
@@ -408,7 +408,7 @@ class Client extends EventEmitter {
|
||||
* @returns {Promise<OAuth2Application>}
|
||||
*/
|
||||
fetchApplication(id = '@me') {
|
||||
return this.rest.api.oauth2.applications(id).get()
|
||||
return this.api.oauth2.applications(id).get()
|
||||
.then(app => new OAuth2Application(this, app));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user