1
0

fix empty response from /api/v1/blocks

This commit is contained in:
Hazelnoot
2025-03-21 23:24:38 -04:00
parent c69f7b87f0
commit 178fe16f68
@@ -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);
});