Fix thread hydration

This commit is contained in:
Alex Gleason
2024-06-05 11:04:25 -05:00
parent c5c4f47bc2
commit f7a9bf9ffd
2 changed files with 8 additions and 4 deletions

View File

@@ -220,6 +220,12 @@ const contextController: AppController = async (c) => {
getDescendants(store, event.id).then(renderStatuses),
]);
await hydrateEvents({
events: [...ancestors, ...descendants],
signal: c.req.raw.signal,
store,
});
return c.json({ ancestors, descendants });
}