fix: Remove duplicate json import causing runtime error

- Removed local 'import json' statement inside get_servers() function
- This was shadowing the module-level import and causing
  'cannot access local variable' error
- json is already imported at the top of the file (line 44)
This commit is contained in:
2026-01-10 21:05:46 +02:00
parent 32c2a7b930
commit f576db0d88

View File

@@ -1326,10 +1326,6 @@ def get_servers():
logger.debug(f"Returning {len(servers)} servers")
# Debug: Show exact JSON being sent
import json
response_data = {"servers": servers}
return {"servers": servers}
@app.post("/servers")