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