aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r--src/hypixel.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index 99bc671..f8041f5 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -122,8 +122,9 @@ export async function fetchUser({ user, uuid, username }: UserAny, included: Inc
}
let websiteAccount: AccountSchema = undefined
- if (websiteAccountPromise)
+ if (websiteAccountPromise) {
websiteAccount = await websiteAccountPromise
+ }
return {
player: playerData ?? null,
profiles: profilesData ?? basicProfilesData,