mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +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 client = this.clientService.getClient(_request);
|
||||||
|
|
||||||
const data = await client.getBlocks(parseTimelineArgs(_request.query));
|
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);
|
reply.send(response);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue