From d4bd637abdf929d4b83efc9844277f232cda8560 Mon Sep 17 00:00:00 2001 From: kgc91747 Date: Mon, 12 Aug 2024 09:29:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20board=20=EC=A0=84=EC=B2=B4=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EA=B2=B0=EA=B3=BC=EA=B0=80=20=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../edufocus/edufocus/board/controller/BoardController.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/main/java/com/edufocus/edufocus/board/controller/BoardController.java b/backend/src/main/java/com/edufocus/edufocus/board/controller/BoardController.java index 87e5410..da43e88 100644 --- a/backend/src/main/java/com/edufocus/edufocus/board/controller/BoardController.java +++ b/backend/src/main/java/com/edufocus/edufocus/board/controller/BoardController.java @@ -37,9 +37,6 @@ public class BoardController { ){ List boardSummaries = boardService.findBoards(pageNo, category, lectureId); - if(boardSummaries.isEmpty()) - return new ResponseEntity<>(boardSummaries, HttpStatus.NO_CONTENT); - return new ResponseEntity<>(boardSummaries, HttpStatus.OK); }