We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d814f3 commit 736e0bfCopy full SHA for 736e0bf
src/main/java/net/teumteum/user/service/UserService.java
@@ -74,7 +74,7 @@ public void addFriends(Long myId, Long friendId) {
74
var me = getUser(myId);
75
var friend = getUser(friendId);
76
77
- me.addFriend(friend);
+ friend.addFriend(me);
78
}
79
80
@Transactional
0 commit comments