mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-18 14:04:23 +01:00
Fix thread hydration
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user