aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/database.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts
index 9c2978b..f6de171 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -780,7 +780,8 @@ export async function updateDatabaseProfile(profile: CleanFullProfile): Promise<
} else {
// no leaderboard attributes, delete them!
await profileLeaderboardsCollection.deleteOne({
- uuid: profile.uuid
+ uuid: profile.uuid,
+ profile: profile.uuid
})
}