From ae0b23f950b52f40b414ad014bc790bc939d0e9a Mon Sep 17 00:00:00 2001 From: mountain Date: Mon, 27 Nov 2023 18:11:52 +0900 Subject: [PATCH] =?UTF-8?q?party=20member=20document=20=EA=B3=84=EC=B8=B5?= =?UTF-8?q?=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/group_party.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/group_party.go b/core/group_party.go index 0b0da18..0b76298 100644 --- a/core/group_party.go +++ b/core/group_party.go @@ -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