mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-10 14:16:58 +08:00
fix bug: obtain user online status err(#567)
This commit is contained in:
parent
36802ab276
commit
a4736e66c3
@ -86,7 +86,7 @@ func (u *UserApi) GetUsersOnlineStatus(c *gin.Context) {
|
||||
log.ZWarn(c, "GetUsersOnlineStatus rpc err", err)
|
||||
|
||||
parseError := apiresp.ParseError(err)
|
||||
log.ZInfo(c, "errcode bantanger", parseError.ErrCode)
|
||||
log.ZDebug(c, "errcode bantanger", parseError.ErrCode)
|
||||
if parseError.ErrCode == errs.NoPermissionError {
|
||||
apiresp.GinError(c, err)
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user