floor created at

This commit is contained in:
cutestnekoaqua 2023-02-11 01:51:14 +01:00
parent 31e0ac1ee8
commit c6d597e886
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -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);