Commit e47d6ce1 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

refac: return only last 5 changelog

parent 15f4153f
...@@ -245,7 +245,7 @@ async def get_app_config(): ...@@ -245,7 +245,7 @@ async def get_app_config():
@app.get("/api/changelog") @app.get("/api/changelog")
async def get_app_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") @app.get("/api/version/updates")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment