mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 19:02:31 +08:00
fix updatefriend map
This commit is contained in:
parent
3b9c9c8944
commit
efdd0946cc
@ -452,7 +452,7 @@ func (s *friendServer) UpdateFriends(
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
var val map[string]any
|
val := make(map[string]any)
|
||||||
|
|
||||||
if req.IsPinned != nil {
|
if req.IsPinned != nil {
|
||||||
val["is_pinned"] = req.IsPinned.Value
|
val["is_pinned"] = req.IsPinned.Value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user