From e47d6ce1f68795e6645a4cbdd0bacf655ac5514f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Sun, 31 Mar 2024 01:10:57 -0700 Subject: [PATCH] refac: return only last 5 changelog --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index 1123f6dcb..fa35e55a9 100644 --- a/backend/main.py +++ b/backend/main.py @@ -245,7 +245,7 @@ async def get_app_config(): @app.get("/api/changelog") async def get_app_changelog(): - return CHANGELOG + return {key: CHANGELOG[key] for idx, key in enumerate(CHANGELOG) if idx < 5} @app.get("/api/version/updates")