diff options
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
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), }) |
