Add an await
parent
7c0f2cd71c
commit
6fb22146e4
|
@ -94,7 +94,7 @@ const usernameCheck = async (usernameRaw: string) => {
|
|||
response.available = false;
|
||||
}
|
||||
|
||||
if (isPremiumUserName(username)) {
|
||||
if (await isPremiumUserName(username)) {
|
||||
response.premium = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue