From 9ae64d1bd179865829cad9987b730dd5b15d5c71 Mon Sep 17 00:00:00 2001 From: test2 Date: Sat, 25 Jul 2026 22:45:00 +0300 Subject: [PATCH] Include allocated WireGuard allowedIPs in create result flash Co-authored-by: Cursor --- app/routers/xui.py | 1 + 1 file changed, 1 insertion(+) 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"),