Add an await

pull/11421/merge^2
Sean Brydon 2023-09-26 11:20:39 +01:00
parent 7c0f2cd71c
commit 6fb22146e4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ const usernameCheck = async (usernameRaw: string) => {
response.available = false;
}
if (isPremiumUserName(username)) {
if (await isPremiumUserName(username)) {
response.premium = true;
}