MHSanaei
2023-06-13 17:26:50 +03:30
parent b5657ab87d
commit ad9134bc1a
8 changed files with 3 additions and 19 deletions
+1 -2
View File
@@ -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{