Skip to content

Commit

Permalink
hotfix(BE): 친구추가 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
namhyo01 committed Nov 22, 2023
1 parent 6079c01 commit fc0100f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public FriendDto addFriend(@RequestBody FriendDto friendDto) {
log.error("FriendController::addFriend: Login is needed");
throw new CustomException(ErrorCodeEnum.LOGIN_IS_NOT_DONE);
}
friendDto.setFriendId(securityUser.getUserId());
friendDto.setUserId(securityUser.getUserId());
return addFriendUsecase.addFriend(friendDto);
}

Expand Down

0 comments on commit fc0100f

Please sign in to comment.