From b8f6829f7185af427695c601f23fe58243897d64 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 23 Oct 2024 20:30:33 +0100 Subject: [PATCH] literally nothing uses this --- projects/common/src/model/score/impl/scoresaber-score.ts | 1 - projects/common/src/model/score/score.ts | 6 ------ 2 files changed, 7 deletions(-) diff --git a/projects/common/src/model/score/impl/scoresaber-score.ts b/projects/common/src/model/score/impl/scoresaber-score.ts index d36ea1e..a1cac85 100644 --- a/projects/common/src/model/score/impl/scoresaber-score.ts +++ b/projects/common/src/model/score/impl/scoresaber-score.ts @@ -98,7 +98,6 @@ export function getScoreSaberScoreFromToken( }); return { - leaderboard: "scoresaber", playerId: playerId || token.leaderboardPlayerInfo.id, leaderboardId: leaderboard.id, score: token.baseScore, diff --git a/projects/common/src/model/score/score.ts b/projects/common/src/model/score/score.ts index 39aa040..89a13fe 100644 --- a/projects/common/src/model/score/score.ts +++ b/projects/common/src/model/score/score.ts @@ -13,12 +13,6 @@ export default class Score { @prop() private _id?: number; - /** - * The leaderboard the score is from. - */ - @prop({ required: true }) - public readonly leaderboard!: Leaderboards; - /** * The id of the player who set the score. * @private