From bb51cb468e9944de1647b87066142f559be2926a Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 10 Apr 2022 19:10:33 -0500 Subject: Fix error when viewing profile leaderboard --- src/database.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/database.ts b/src/database.ts index 20da315..2944728 100644 --- a/src/database.ts +++ b/src/database.ts @@ -519,7 +519,7 @@ interface ProfileLeaderboard { interface LeaderboardBasicPlayer { uuid: string - username: string + username: string | undefined rank: { color: string } @@ -561,9 +561,9 @@ export async function fetchProfileLeaderboard(name: string): Promise