From c6d597e88684d55aa592c2a67649c494efe368dd Mon Sep 17 00:00:00 2001 From: cutestnekoaqua Date: Sat, 11 Feb 2023 01:51:14 +0100 Subject: [PATCH] floor created at --- packages/backend/src/server/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/index.ts b/packages/backend/src/server/index.ts index adadc92c41..cd495971ef 100644 --- a/packages/backend/src/server/index.ts +++ b/packages/backend/src/server/index.ts @@ -175,7 +175,7 @@ mastoRouter.post("/oauth/token", async (ctx) => { access_token: atData.accessToken, token_type: "Bearer", scope: "read write follow", - created_at: new Date().getTime() / 1000, + created_at: Math.floor(new Date().getTime() / 1000), }; } catch (err: any) { console.error(err);