feat: rename fetch -> fetchInvite

This commit is contained in:
DjDeveloperr 2020-12-29 10:13:28 +05:30
parent 9178e6cec1
commit 63ae6f4312
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ export class Client extends EventEmitter {
} }
/** Fetch an Invite */ /** Fetch an Invite */
async fetch(id: string): Promise<Invite> { async fetchInvite(id: string): Promise<Invite> {
return await new Promise((resolve, reject) => { return await new Promise((resolve, reject) => {
this.rest this.rest
.get(INVITE(id)) .get(INVITE(id))