fix empty response from /api/v1/mutes

This commit is contained in:
Hazelnoot 2025-03-21 23:24:29 -04:00
parent 2b03f51315
commit c69f7b87f0

View file

@ -241,7 +241,7 @@ export class MastodonApiServerService {
const client = this.clientService.getClient(_request);
const data = await client.getMutes(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);
});