From a8e81e304e4ea13cfa355773b531845367dd31e4 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 29 Jul 2024 23:43:04 -0500 Subject: [PATCH] context: reverse descendants --- src/controllers/api/statuses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/statuses.ts b/src/controllers/api/statuses.ts index 6d61c76c..4e8d051f 100644 --- a/src/controllers/api/statuses.ts +++ b/src/controllers/api/statuses.ts @@ -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 });