Skip to content

Commit

Permalink
[fix] senderId 맵핑 누락된 부분 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tmdtmdqorekf committed May 22, 2024
1 parent 26b57fb commit 1508be2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ public MatchInfoResponseDto getMatchRequestInfo(Long senderId) {
User receiver = userRepository.findById(receiverId)
.orElseThrow(() -> new CustomException(ErrorCode.USER_NOT_FOUND));
ReceiverInfoDto receiverInfo = mapper.map(receiver, ReceiverInfoDto.class);
receiverInfo.setReceiverId(receiverId);
receiverInfo.setCompany(customMapper.toCompanyDto(receiver.getCompany()));

response = mapper.map(matchInfo, MatchInfoResponseDto.class);
Expand Down

0 comments on commit 1508be2

Please sign in to comment.