mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-18 14:04:23 +01:00
context: reverse descendants
This commit is contained in:
@@ -258,7 +258,7 @@ const contextController: AppController = async (c) => {
|
||||
|
||||
const [ancestors, descendants] = await Promise.all([
|
||||
renderStatuses(ancestorEvents),
|
||||
renderStatuses(descendantEvents),
|
||||
renderStatuses(descendantEvents.reverse()),
|
||||
]);
|
||||
|
||||
return c.json({ ancestors, descendants });
|
||||
|
||||
Reference in New Issue
Block a user