fix scores history being reset for that day
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 45s

This commit is contained in:
Lee 2024-10-21 07:45:23 +01:00
parent ad826d7a3f
commit b7349f0226

@ -151,6 +151,7 @@ export class PlayerService {
averageRankedAccuracy: scoreStats.averageRankedAccuracy, averageRankedAccuracy: scoreStats.averageRankedAccuracy,
}; };
history.scores = { history.scores = {
...history.scores,
totalScores: scoreStats.totalPlayCount, totalScores: scoreStats.totalPlayCount,
totalRankedScores: scoreStats.rankedPlayCount, totalRankedScores: scoreStats.rankedPlayCount,
}; };