Skip to content

Commit

Permalink
#110 - bug: isEmpty 검증 로직 내 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sasca37 committed Dec 3, 2023
1 parent 6045ab0 commit db7921c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ public ResponseEntity<ResponseSuccess<Page<ChallengeRoomSearchResponse>>> getSea
@Schema(description = "요청 페이지 번호", example = "0") @RequestParam(name = "page") Integer page,
@Schema(description = "요청 페이지 사이즈", example = "3") @RequestParam(name = "page_size") Integer pageSize,
Authentication authentication) {
if (!StringUtils.isEmpty(word)) {
if (StringUtils.isEmpty(word)) {
throw new DodalApplicationException(ErrorCode.NOT_FOUND_WORD);
}
final User user = (User) authentication.getPrincipal();
Expand Down

0 comments on commit db7921c

Please sign in to comment.