fix: friend op_user_id

pull/2568/head
withchao 1 year ago
parent e7a4ef38f2
commit 45a2031dc5

@ -160,7 +160,7 @@ func (f *friendDatabase) BecomeFriends(ctx context.Context, ownerUserID string,
if err != nil {
return err
}
opUserID := mcontext.GetOperationID(ctx)
opUserID := mcontext.GetOpUserID(ctx)
friends := make([]*model.Friend, 0, len(friendUserIDs)*2)
myFriendsSet := datautil.SliceSetAny(myFriends, func(friend *model.Friend) string {
return friend.FriendUserID

Loading…
Cancel
Save