feat: rename fetch -> fetchInvite

This commit is contained in:
DjDeveloperr 2020-12-29 10:13:28 +05:30
parent 9178e6cec1
commit 63ae6f4312

View file

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