mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-16 17:09:17 +08:00
Error code standardization
This commit is contained in:
parent
89f0741cea
commit
e03a34cae4
@ -889,7 +889,6 @@ func (s *groupServer) GroupApplicationResponse(ctx context.Context, req *pbGroup
|
||||
trace_log.SetRpcReqInfo(nCtx, utils.GetSelfFuncName(), req.String())
|
||||
defer trace_log.ShowLog(nCtx)
|
||||
resp := pbGroup.GroupApplicationResponseResp{CommonResp: &pbGroup.CommonResp{}}
|
||||
defer trace_log.ShowLog(nCtx)
|
||||
if err := CheckPermission(nCtx, req.GroupID, req.OpUserID); err != nil {
|
||||
SetErrorForResp(err, &resp.CommonResp.ErrCode, &resp.CommonResp.ErrMsg)
|
||||
return &resp, nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user