mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
misc. bugfixes
This commit is contained in:
parent
6e22687bf6
commit
7bf5e1f3c6
2 changed files with 11 additions and 4 deletions
|
@ -1258,7 +1258,7 @@ export async function resolveInvite<T extends boolean>(
|
|||
}
|
||||
|
||||
// @ts-ignore: the getInvite() withCounts typings are blergh
|
||||
const promise = client.getInvite(code, withCounts).catch(() => null);
|
||||
const promise = client.fetchInvite(code).catch(() => null);
|
||||
inviteCache.set(key, promise);
|
||||
|
||||
return promise as ResolveInviteReturnType<T>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue