"src/vscode:/vscode.git/clone" did not exist on "2f5272c78abb6d61b1e881b14c99ba4233ecb161"
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():
@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")
......
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