From 7ad4a3dffc3905d61ccc9a3c0fef6eb196fe0625 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Wed, 13 Nov 2024 14:17:09 +0330 Subject: Xray-core v24.11.11 --- xray/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xray') diff --git a/xray/api.go b/xray/api.go index d0de76e8..727ab526 100644 --- a/xray/api.go +++ b/xray/api.go @@ -129,7 +129,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]in CipherType: ssCipherType, }) } else { - account = serial.ToTypedMessage(&shadowsocks_2022.User{ + account = serial.ToTypedMessage(&shadowsocks_2022.ServerConfig{ Key: user["password"].(string), Email: user["email"].(string), }) -- cgit v1.2.3