fix updatefriend map

pull/1681/head
AndrewZuo01 2 years ago
parent 3b9c9c8944
commit efdd0946cc

@ -452,7 +452,7 @@ func (s *friendServer) UpdateFriends(
return nil, err
}
var val map[string]any
val := make(map[string]any)
if req.IsPinned != nil {
val["is_pinned"] = req.IsPinned.Value

Loading…
Cancel
Save