do more change
This commit is contained in:
parent
a6fdb28560
commit
12e1e676fa
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue