organization

pull/218/head
skiffer-git 3 years ago
parent 42242daf9b
commit 6873bf384e

@ -307,8 +307,8 @@ func UpdateUserInDepartment(c *gin.Context) {
}
req := &rpc.UpdateUserInDepartmentReq{DepartmentMember: &open_im_sdk.DepartmentMember{}}
utils.CopyStructFields(req.DepartmentMember, &params)
utils.CopyStructFields(req, &params)
err, opUserID := token_verify.ParseTokenGetUserID(c.Request.Header.Get("token"), req.OperationID)
req.OpUserID = opUserID
if err != nil {

Loading…
Cancel
Save