diff options
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/api.go | 3 |
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{ |
