missing parse to int in put /games/:gameId

This commit is contained in:
Zamitto 2024-06-18 21:46:20 -03:00
parent 7eb69f6e16
commit cf84bf56b3
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ export const uploadBatchGames = async () => {
chunk.map((game) => {
return {
objectId: game.objectID,
playTimeInMilliseconds: Math.round(game.playTimeInMilliseconds),
playTimeInMilliseconds: Math.trunc(game.playTimeInMilliseconds),
shop: game.shop,
lastTimePlayed: game.lastTimePlayed,
};