oof
This commit is contained in:
parent
b2bb9ec178
commit
740e5e56ba
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export function apiAccountMastodon(router: Router): void {
|
|||
const accessTokens = ctx.headers.authorization;
|
||||
const client = getClient(BASE_URL, accessTokens);
|
||||
try {
|
||||
const data = await client.getAccount(( || '').toString());
|
||||
const data = await client.getAccount((ctx.query.acct || '').toString());
|
||||
ctx.body = data.data;
|
||||
} catch (e: any) {
|
||||
console.error(e);
|
||||
|
|
Loading…
Reference in a new issue