fix: contact person in masto instance endpoint
This commit is contained in:
parent
3526880607
commit
1446514442
3 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ export class MastodonApiServerService {
|
|||
},
|
||||
order: { id: 'ASC' },
|
||||
});
|
||||
const contact = admin == null ? null : convertAccount((await client.getAccount(admin.id)).data);
|
||||
const contact = admin == null ? null : convertAccount((await client.getAccount(admin.id, BASE_URL)).data);
|
||||
reply.send(await getInstance(data.data, contact, this.config, await this.metaService.fetch()));
|
||||
} catch (e: any) {
|
||||
/* console.error(e); */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue