fix player daily score set
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 1m47s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 1m47s
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user