do more change

This commit is contained in:
cutestnekoaqua 2023-02-11 01:08:20 +01:00
parent ecc0397dd3
commit 10f5d49fc6

View file

@ -163,7 +163,7 @@ mastoRouter.post("/oauth/token", async (ctx) => {
const atData = await client.fetchAccessToken( const atData = await client.fetchAccessToken(
null, null,
body.client_secret, body.client_secret,
m[0], m ? m[0] : null,
); );
ctx.body = { ctx.body = {
access_token: atData.accessToken, access_token: atData.accessToken,