floor created at
This commit is contained in:
parent
31e0ac1ee8
commit
c6d597e886
|
@ -175,7 +175,7 @@ mastoRouter.post("/oauth/token", async (ctx) => {
|
||||||
access_token: atData.accessToken,
|
access_token: atData.accessToken,
|
||||||
token_type: "Bearer",
|
token_type: "Bearer",
|
||||||
scope: "read write follow",
|
scope: "read write follow",
|
||||||
created_at: new Date().getTime() / 1000,
|
created_at: Math.floor(new Date().getTime() / 1000),
|
||||||
};
|
};
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|
Loading…
Reference in New Issue