Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xray
diff options
context:
space:
mode:
Diffstat (limited to 'xray')
-rw-r--r--xray/api.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/xray/api.go b/xray/api.go
index a84435f9..c2e2b4ca 100644
--- a/xray/api.go
+++ b/xray/api.go
@@ -57,8 +57,7 @@ func (x *XrayAPI) AddUser(Protocol string, inboundTag string, user map[string]in
switch Protocol {
case "vmess":
account = serial.ToTypedMessage(&vmess.Account{
- Id: user["id"].(string),
- AlterId: uint32(user["alterId"].(uint16)),
+ Id: user["id"].(string),
})
case "vless":
account = serial.ToTypedMessage(&vless.Account{