mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
do more change
This commit is contained in:
parent
ecc0397dd3
commit
10f5d49fc6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue