This commit is contained in:
Alex Gleason 2023-08-10 14:56:14 -05:00
parent 5f37a68b9f
commit 63772022cf
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ const contextController: AppController = async (c) => {
const descendantEvents = await getDescendants(event.id);
return c.json({
ancestors: (await Promise.all((ancestorEvents).map(toStatus))).filter(Boolean),
descendants: (await Promise.all((descendantEvents).map(toStatus))).filter(Boolean),
ancestors: (await Promise.all(ancestorEvents.map(toStatus))).filter(Boolean),
descendants: (await Promise.all(descendantEvents.map(toStatus))).filter(Boolean),
});
}