do more change
This commit is contained in:
parent
a6fdb28560
commit
12e1e676fa
@ -163,7 +163,7 @@ mastoRouter.post("/oauth/token", async (ctx) => {
|
||||
const atData = await client.fetchAccessToken(
|
||||
null,
|
||||
body.client_secret,
|
||||
m[0],
|
||||
m ? m[0] : null,
|
||||
);
|
||||
ctx.body = {
|
||||
access_token: atData.accessToken,
|
||||
|
Loading…
Reference in New Issue
Block a user