party member document 계층 오류 수정

This commit is contained in:
2023-11-27 18:11:52 +09:00
parent 2e2f7a151e
commit ae0b23f950

View File

@ -635,7 +635,8 @@ func (gp *groupParty) updateMemberDocument(gid groupID, mid accountID, doc bson.
id: gid,
rh: gp.rh,
}
prefixPath := fmt.Sprintf("$._members.%s.", gd.tid(mid))
prefixPath := fmt.Sprintf("$._members.%s._body.", gd.tid(mid))
err := gp.rh.JSONMSetRel(gd.strid(), prefixPath, doc)
if err != nil {
return err