mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
context: reverse descendants
This commit is contained in:
parent
edc4607c8d
commit
a8e81e304e
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ const contextController: AppController = async (c) => {
|
||||||
|
|
||||||
const [ancestors, descendants] = await Promise.all([
|
const [ancestors, descendants] = await Promise.all([
|
||||||
renderStatuses(ancestorEvents),
|
renderStatuses(ancestorEvents),
|
||||||
renderStatuses(descendantEvents),
|
renderStatuses(descendantEvents.reverse()),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return c.json({ ancestors, descendants });
|
return c.json({ ancestors, descendants });
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue