fix timestamp
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 39s

This commit is contained in:
Lee 2024-10-22 19:10:18 +01:00
parent 989d66780d
commit 68e343083b

@ -211,7 +211,7 @@ export class ScoreService {
left: score.accLeft,
right: score.accRight,
},
timestamp: new Date(score.timeset),
timestamp: new Date(Number(score.timeset) * 1000),
} as AdditionalScoreData;
if (rawScoreImprovement && rawScoreImprovement.score > 0) {
data.scoreImprovement = {