We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 320ebbc commit 4a34575Copy full SHA for 4a34575
src/main/java/io/crops/warmletter/domain/letter/service/LetterService.java
@@ -115,7 +115,7 @@ public List<LetterResponse> getPreviousLetters(Long letterId) {
115
116
if(parentLetterId == null){
117
String zipCode = memberRepository.findById(letter.getWriterId()).orElseThrow(MemberNotFoundException::new).getZipCode();
118
- LetterResponse response = LetterResponse.fromEntityForPreviousLetters(letter, zipCode, null);
+ LetterResponse response = LetterResponse.fromEntityForPreviousLetters(letter, zipCode, letter.getMatchingId());
119
return List.of(response);
120
121
}else{
0 commit comments