Skip to content

Commit

Permalink
[#115] fix: 캐릭터 상세 조회 - 검색 조건 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonstrup committed Feb 18, 2025
1 parent 861c731 commit af63d1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class CharacterService {
@Transactional(readOnly = true)
public CharacterResponse getCharacter(final CharacterCommand command) {
return characterRecordRepository
.findByIdAndMemberIdAndDeletedAtIsNullWithMember(command.memberId(), command.characterId())
.findByIdAndMemberIdAndDeletedAtIsNullWithMember(command.characterId(), command.memberId())
.map(CharacterResponse::of)
.orElseThrow(() -> CustomException.CHARACTER_NOT_FOUND);
}
Expand Down

0 comments on commit af63d1b

Please sign in to comment.