We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22e7a00 commit 168550aCopy full SHA for 168550a
1 file changed
pkg/protocol/chat/chat.go
@@ -142,7 +142,7 @@ func (x *RegisterUserReq) Check() error {
142
}
143
144
func (x *LoginReq) Check() error {
145
- if x.Platform < constantpb.IOSPlatformID || x.Platform > constantpb.AdminPlatformID {
+ if x.Platform < constantpb.IOSPlatformID || x.Platform > constantpb.HarmonyOSPlatformID {
146
return errs.ErrArgs.WrapMsg("platform is invalid")
147
148
if x.Email == "" {
0 commit comments