floor created at
This commit is contained in:
parent
31e0ac1ee8
commit
c6d597e886
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue