mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-04-13 09:44:40 +00:00
fix empty response from /api/v1/blocks
This commit is contained in:
parent
c69f7b87f0
commit
178fe16f68
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ export class MastodonApiServerService {
|
|||
const client = this.clientService.getClient(_request);
|
||||
|
||||
const data = await client.getBlocks(parseTimelineArgs(_request.query));
|
||||
const response = Promise.all(data.data.map((account) => this.mastoConverters.convertAccount(account)));
|
||||
const response = await Promise.all(data.data.map((account) => this.mastoConverters.convertAccount(account)));
|
||||
|
||||
reply.send(response);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue