From 55f1cd610467363044021ce48be6fcd725c87ec4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=8A=B9=EC=9A=B0?= Date: Tue, 26 Mar 2024 01:21:20 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]:=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EA=B0=B1=EC=8B=A0=20=EB=A7=88=EB=AC=B4=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../depth/jeonsilog/domain/openApi/application/AddService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/depth/jeonsilog/domain/openApi/application/AddService.java b/src/main/java/depth/jeonsilog/domain/openApi/application/AddService.java index 2fca222..648dfe8 100644 --- a/src/main/java/depth/jeonsilog/domain/openApi/application/AddService.java +++ b/src/main/java/depth/jeonsilog/domain/openApi/application/AddService.java @@ -255,7 +255,7 @@ public ResponseEntity addExhibitionAndPlace() { Integer numOfPages = (totalCount / rows) + 1; log.info("numOfPages: " + numOfPages); - if (page == 10) { // 페이지 조절 + if (page == numOfPages) { // 페이지 조절 ApiResponse apiResponse = ApiResponse.builder() .check(true) .information(exhibitionList)