fix: get account statuses for local users

This commit is contained in:
Mar0xy 2023-09-25 03:23:03 +02:00
parent 97749e6722
commit 3526880607
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
3 changed files with 7 additions and 4 deletions

View file

@ -107,6 +107,7 @@ export class ApiAccountMastodon {
const data = await this.client.getAccountStatuses(
convertId((this.request.params as any).id, IdType.SharkeyId),
convertTimelinesArgsId(argsToBools(limitToInt(this.request.query as any))),
this.BASE_URL,
);
return data.data.map((status) => convertStatus(status));
} catch (e: any) {