Skip to content

Commit

Permalink
Hotfix: 신체 아이디에 대한 증상 아이디를 넘기도록 수정
Browse files Browse the repository at this point in the history
Hotfix: 신체 아이디에 대한 증상 아이디를 넘기도록 수정
  • Loading branch information
sansan20535 authored Jan 25, 2025
2 parents be15a77 + b5222aa commit cebde96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ public PostListResponse getPosts(final Long memberId, final String keyword, fina
final List<Long> symptomIdsByBodyId = symptomRepository.findAllByBodyId(bodyId).stream()
.map(Symptom::getId)
.toList();
final List<PostTag> postTags = postTagRepository.findAllByTagIdAndTagType(symptomIds, TagType.SYMPTOM);
final List<PostTag> postTags = postTagRepository.findAllByTagIdAndTagType(symptomIdsByBodyId, TagType.SYMPTOM);
final List<Long> postIds = postTags.stream()
.map(PostTag::getPostId)
.toList();
Expand Down

0 comments on commit cebde96

Please sign in to comment.