Update main.py

This commit is contained in:
holyarahippo06 authored and GitHub committed 2025-07-28 19:00:39 +02:00
1 parent b9c3800a13
commit cda1dad597
1 file changed
-1
-1
View File
@@ -118,7 +118,6 @@ async def save_config_endpoint(config_data: ConfigUpdateRequest):
except Exception as e:
raise HTTPException(status_code=500, detail=f"Failed to save configuration: {e}")
# ... (The rest of your endpoints: get_all_packages, get_hb_store_db, etc. remain unchanged) ...
@app.get("/api/packages")
async def get_all_packages():
return JSONResponse(content=server_state["packages"])