diff --git a/projects/backend/src/service/score.service.ts b/projects/backend/src/service/score.service.ts index e117fa5..5377496 100644 --- a/projects/backend/src/service/score.service.ts +++ b/projects/backend/src/service/score.service.ts @@ -154,6 +154,7 @@ export class ScoreService { history.scores = scores; player.setStatisticHistory(today, history); + player.markModified("statisticHistory"); await player.save(); }