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
6 changes: 3 additions & 3 deletions src/main/java/com/kwcapstone/Service/MainService.java
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public List<ShowMainResponseDto> showMain(PrincipalDetails principalDetails, Str
List<Project> projects = getProjects(String.valueOf(memberId), filterType);

if (projects.isEmpty()) {
throw new ResponseStatusException(HttpStatus.NOT_FOUND, "요청한 조건에 맞는 프로젝트를 찾을 수 없습니다.");
return null;
}

try {
Expand Down Expand Up @@ -214,7 +214,7 @@ public List<ShowRecordResponseDto> showRecording(PrincipalDetails principalDetai
List<Project> projects = getProjects(String.valueOf(memberId), filterType);

if (projects.isEmpty()) {
throw new ResponseStatusException(HttpStatus.NOT_FOUND, "요청한 조건에 맞는 녹음 데이터를 찾을 수 없습니다.");
return null;
}

try {
Expand Down Expand Up @@ -274,7 +274,7 @@ public List<ShowSummaryResponseDto> showSummary(PrincipalDetails principalDetail
List<Project> projects = getProjects(String.valueOf(memberId), filterType);

if (projects.isEmpty()) {
throw new ResponseStatusException(HttpStatus.NOT_FOUND, "요청한 조건에 맞는 요약본 데이터를 찾을 수 없습니다.");
return null;
}

try {
Expand Down