From 68200911c39b70fdd1e3112d4a12495b98ff6b82 Mon Sep 17 00:00:00 2001 From: suyeoniii Date: Mon, 14 Oct 2024 06:04:53 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=EC=95=8C=EB=A6=BC=20=EB=82=B4?= =?UTF-8?q?=EC=97=AD=20=EB=8D=94=EB=AF=B8=EB=8D=B0=EC=9D=B4=ED=84=B0=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../notification/NotificationController.kt | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt b/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt index 3a05161..5f3516a 100644 --- a/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt +++ b/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt @@ -27,18 +27,7 @@ class NotificationController { ) @GetMapping("/v1/notifications") fun getNotificationHistory(): GetNotificationHistoryResponse { - val mockData = listOf( - NotificationHistoryDto.from(1, "알림 내용1", "2024-08-04", false), - NotificationHistoryDto.from(2, "알림 내용2", "2024-08-03", false), - NotificationHistoryDto.from(3, "알림 내용3", "2024-08-02", true), - NotificationHistoryDto.from(4, "알림 내용4", "2024-08-02", true), - NotificationHistoryDto.from(5, "알림 내용5", "2024-08-01", true), - NotificationHistoryDto.from(6, "알림 내용6", "2024-08-01", true), - NotificationHistoryDto.from(7, "알림 내용7", "2024-08-01", true), - NotificationHistoryDto.from(8, "알림 내용8", "2024-07-31", true), - NotificationHistoryDto.from(9, "알림 내용9", "2024-07-30", true), - NotificationHistoryDto.from(10, "알림 내용10", "2024-07-20", true), - ) + val mockData: List = listOf() return GetNotificationHistoryResponse.from(mockData) } From ef57abc4e375fd1d84b1351319146fe6742c1ab1 Mon Sep 17 00:00:00 2001 From: suyeoniii Date: Mon, 14 Oct 2024 06:08:04 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EB=9D=84=EC=96=B4=EC=93=B0=EA=B8=B0?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../routebox/controller/notification/NotificationController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt b/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt index 5f3516a..3477fbd 100644 --- a/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt +++ b/src/main/kotlin/com/routebox/routebox/controller/notification/NotificationController.kt @@ -27,7 +27,7 @@ class NotificationController { ) @GetMapping("/v1/notifications") fun getNotificationHistory(): GetNotificationHistoryResponse { - val mockData: List = listOf() + val mockData: List = listOf() return GetNotificationHistoryResponse.from(mockData) }