File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
backend/src/main/java/io/f1/backend/domain/quiz/api Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 66import io .f1 .backend .domain .quiz .dto .QuizListPageResponse ;
77import io .f1 .backend .domain .quiz .dto .QuizQuestionListResponse ;
88import io .f1 .backend .domain .quiz .dto .QuizUpdateRequest ;
9-
109import io .f1 .backend .global .exception .CustomException ;
1110import io .f1 .backend .global .exception .errorcode .CommonErrorCode ;
12- import io . f1 . backend . global . exception . errorcode . QuizErrorCode ;
11+
1312import jakarta .validation .Valid ;
1413
1514import lombok .RequiredArgsConstructor ;
@@ -82,10 +81,10 @@ public ResponseEntity<QuizListPageResponse> getQuizzes(
8281 @ RequestParam (required = false ) String title ,
8382 @ RequestParam (required = false ) String creator ) {
8483
85- if (page <= 0 ) {
84+ if (page <= 0 ) {
8685 throw new CustomException (CommonErrorCode .INVALID_PAGINATION );
8786 }
88- if (size <= 0 || size > 100 ) {
87+ if (size <= 0 || size > 100 ) {
8988 throw new CustomException (CommonErrorCode .INVALID_PAGINATION );
9089 }
9190
You can’t perform that action at this time.
0 commit comments