diff --git a/app/routers/xui.py b/app/routers/xui.py index e4d5bf4..f362775 100644 --- a/app/routers/xui.py +++ b/app/routers/xui.py @@ -270,6 +270,7 @@ async def xui_add_client( "flow": result.get("flow"), "privateKey": result.get("privateKey"), "publicKey": result.get("publicKey"), + "allowedIPs": result.get("allowedIPs") or [], "links": result.get("links") or [], "inbound": result.get("inbound"), "expiry_days": result.get("expiry_days"),