diff --git a/projects/backend/src/service/player.service.ts b/projects/backend/src/service/player.service.ts index 5f237b5..eb30083 100644 --- a/projects/backend/src/service/player.service.ts +++ b/projects/backend/src/service/player.service.ts @@ -93,7 +93,7 @@ export class PlayerService { }); playerRankHistory.push(playerToken.rank); - let daysAgo = 1; // Start from yesterday + let daysAgo = 0; // Start from today for (let i = playerRankHistory.length - daysAgo - 1; i >= 0; i--) { const rank = playerRankHistory[i]; // Skip inactive days