context: reverse descendants

This commit is contained in:
Alex Gleason 2024-07-29 23:43:04 -05:00
parent edc4607c8d
commit a8e81e304e
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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 });