Skip to content

Commit

Permalink
Hotfix: Fix search total notice stringLength default value. (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW authored Sep 19, 2023
1 parent c9ccf1e commit 1003690
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class NoticeController(
fun totalSearchNotice(
@RequestParam(required = true) @Length(min = 2) @NotBlank keyword: String,
@RequestParam(required = true) @Positive number: Int,
@RequestParam(required = false) @Positive stringLength: Int = 200,
@RequestParam(required = false, defaultValue = "200") @Positive stringLength: Int,
) = ResponseEntity.ok(
noticeService.searchTotalNotice(keyword, number, stringLength)
)
Expand Down

0 comments on commit 1003690

Please sign in to comment.