Improve performance of /context endpoint

This commit is contained in:
Alex Gleason
2024-07-29 23:40:08 -05:00
parent ce18cb928a
commit edc4607c8d
2 changed files with 5 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ const contextController: AppController = async (c) => {
if (event) {
const [ancestorEvents, descendantEvents] = await Promise.all([
getAncestors(store, event),
getDescendants(store, event.id),
getDescendants(store, event),
]);
await hydrateEvents({