set group member ex == "" if ex == nil

test-errcode
skiffer-git 2 years ago
parent 25a848c4e4
commit 2dab70697c

@ -1822,7 +1822,7 @@ func (s *groupServer) SetGroupMemberInfo(ctx context.Context, req *pbGroup.SetGr
if req.Ex != nil {
m["ex"] = req.Ex.Value
} else {
m["ex"] = ""
m["ex"] = nil
}
err = imdb.UpdateGroupMemberInfoByMap(groupMember, m)
if err != nil {

Loading…
Cancel
Save