fix player daily score set
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 1m47s

This commit is contained in:
Lee 2024-10-26 01:05:51 +01:00
parent dd162bf77c
commit d7929cc36a

@ -154,6 +154,7 @@ export class ScoreService {
history.scores = scores; history.scores = scores;
player.setStatisticHistory(today, history); player.setStatisticHistory(today, history);
player.markModified("statisticHistory");
await player.save(); await player.save();
} }