From ece69dc2c8a6854281d943ed6480a3bdb2b99c8f Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Thu, 10 Nov 2022 01:22:55 +0000 Subject: [PATCH] fix: local man cannot into math --- .../api/v1/users/_userID/games/_game/_playtype/router.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/server/router/api/v1/users/_userID/games/_game/_playtype/router.test.ts b/server/src/server/router/api/v1/users/_userID/games/_game/_playtype/router.test.ts index 0236d1835..8156b1304 100644 --- a/server/src/server/router/api/v1/users/_userID/games/_game/_playtype/router.test.ts +++ b/server/src/server/router/api/v1/users/_userID/games/_game/_playtype/router.test.ts @@ -169,7 +169,7 @@ t.test("GET /api/v1/users/:userID/games/:game/:playtype/history", (t) => { playcount: 100, classes: {}, ratings: {}, - timestamp: Math.floor(Date.now() - ONE_DAY / 100_000), + timestamp: Math.floor((Date.now() - ONE_DAY) / 100_000), }, ]);