mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
deno fmt
This commit is contained in:
parent
5f37a68b9f
commit
63772022cf
1 changed files with 2 additions and 2 deletions
|
|
@ -95,8 +95,8 @@ const contextController: AppController = async (c) => {
|
||||||
const descendantEvents = await getDescendants(event.id);
|
const descendantEvents = await getDescendants(event.id);
|
||||||
|
|
||||||
return c.json({
|
return c.json({
|
||||||
ancestors: (await Promise.all((ancestorEvents).map(toStatus))).filter(Boolean),
|
ancestors: (await Promise.all(ancestorEvents.map(toStatus))).filter(Boolean),
|
||||||
descendants: (await Promise.all((descendantEvents).map(toStatus))).filter(Boolean),
|
descendants: (await Promise.all(descendantEvents.map(toStatus))).filter(Boolean),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue