Skip to content

Commit

Permalink
[SAMBAD-311]-fix : 손흔들기 상태 API에서 handwaving ID가 null이 되는 이슈 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeHanEum committed Aug 28, 2024
1 parent 713bb4b commit 97dbac4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public HandWavingStatusResponse getHandWavingStatus(Long userId, Long meetingId,
MeetingMember sender = meetingMemberService.getByUserIdAndMeetingId(userId, meetingId);
Optional<HandWaving> handWaving = getHandWavingBySenderIdAndReceiverId(sender.getId(), receiverMemberId)
.or(() -> getHandWavingBySenderIdAndReceiverId(receiverMemberId, sender.getId()));
return handWaving.map(waving -> HandWavingStatusResponse.of(waving.getStatus()))
return handWaving.map(waving -> HandWavingStatusResponse.of(waving.getId(), waving.getStatus()))
.orElseGet(() -> HandWavingStatusResponse.of(NOT_REQUESTED));
}

Expand Down

0 comments on commit 97dbac4

Please sign in to comment.