mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-18 17:09:17 +08:00
office
This commit is contained in:
parent
3a06617a7d
commit
2a3265ed71
@ -485,7 +485,6 @@ func (s *officeServer) GetWorkMomentByID(_ context.Context, req *pbOffice.GetWor
|
|||||||
workMoment, err := db.DB.GetWorkMomentByID(req.WorkMomentID)
|
workMoment, err := db.DB.GetWorkMomentByID(req.WorkMomentID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetWorkMomentByID failed", err.Error())
|
log.NewError(req.OperationID, utils.GetSelfFuncName(), "GetWorkMomentByID failed", err.Error())
|
||||||
resp.CommonResp = &pbOffice.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}
|
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
canSee := isUserCanSeeWorkMoment(req.OpUserID, *workMoment)
|
canSee := isUserCanSeeWorkMoment(req.OpUserID, *workMoment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user