Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -355,15 +355,10 @@ public Page<SearchTutorApplicationResponse> getTutorApplication(User user, Integ
application.getTimeSlot().getId()))
.toList();

// lesson 조회 및 ID 반환 (있으면 ID, 없으면 null)
Lesson lesson = lessonJpaRepository.findByApplicationGroupIdAndState(applicationGroup.getId(), ACTIVE)
.orElse(null);

if (lesson != null) {
log.info("lesson id: {}", lesson.getId());
} else {
log.info("lesson is null");
}

// SearchTutorApplicationResponse 생성
return tutorMapper.toSearchTutorApplicationResponse(
applicationGroup,
Expand Down
Loading