From 2eb45566dc8b472b8f96f50af4bb66cd29622b01 Mon Sep 17 00:00:00 2001 From: GiJung <101462387+GiJungPark@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:21:12 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=ED=81=AC=EB=A1=A4=EB=A7=81=20?= =?UTF-8?q?=EC=A3=BC=EA=B8=B0=20=EC=9E=98=EB=AA=BB=20=EC=9E=91=EC=84=B1?= =?UTF-8?q?=ED=95=9C=20=EB=B6=80=EB=B6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/dmforu/admin/scheduler/CrawlingScheduler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmforu-admin/src/main/kotlin/com/dmforu/admin/scheduler/CrawlingScheduler.kt b/dmforu-admin/src/main/kotlin/com/dmforu/admin/scheduler/CrawlingScheduler.kt index 47ace4d..4f23af4 100644 --- a/dmforu-admin/src/main/kotlin/com/dmforu/admin/scheduler/CrawlingScheduler.kt +++ b/dmforu-admin/src/main/kotlin/com/dmforu/admin/scheduler/CrawlingScheduler.kt @@ -20,7 +20,7 @@ class CrawlingScheduler ( universityNoticeCrawlingService.addRecentUniversityNotice() } - @Scheduled(cron = "0 */10 8,20 * * *") + @Scheduled(cron = "0 */10 8-20 * * *") fun dietAndScheduleCrawling() { dietCrawlingService.updateToRecentDiet() scheduleCrawlingService.updateToRecentSchedule() From 7fb43ca1dda400169772e634a84dcaecdf28cf1e Mon Sep 17 00:00:00 2001 From: GiJung <101462387+GiJungPark@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:49:59 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EA=B5=AC=EB=B2=84=EC=A0=84=20API=20?= =?UTF-8?q?Reqeust=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../old/request/OldRegisterSubscribeRequest.kt | 6 +++--- .../fcm/src/main/resources/.DS_Store | Bin 0 -> 6148 bytes 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 dmforu-infrastructure/fcm/src/main/resources/.DS_Store diff --git a/dmforu-api/src/main/kotlin/com/dmforu/api/controller/old/request/OldRegisterSubscribeRequest.kt b/dmforu-api/src/main/kotlin/com/dmforu/api/controller/old/request/OldRegisterSubscribeRequest.kt index fd45f02..2e4e6ea 100644 --- a/dmforu-api/src/main/kotlin/com/dmforu/api/controller/old/request/OldRegisterSubscribeRequest.kt +++ b/dmforu-api/src/main/kotlin/com/dmforu/api/controller/old/request/OldRegisterSubscribeRequest.kt @@ -6,16 +6,16 @@ import com.dmforu.domain.subscribe.Subscribe data class OldRegisterSubscribeRequest( val token: String, val department: String, - val topic: List + val topic: List? ) { fun toSubscribe(): Subscribe { val isDepartmentSubscribed = department.isNotBlank() - val areKeywordsSubscribed = topic.isNotEmpty() + val areKeywordsSubscribed = topic?.isNotEmpty() ?: false return Subscribe.of( token = token, department = department, - keywords = topic, + keywords = topic ?: listOf(), isDepartmentSubscribed = isDepartmentSubscribed, isKeywordSubscribed = areKeywordsSubscribed ) diff --git a/dmforu-infrastructure/fcm/src/main/resources/.DS_Store b/dmforu-infrastructure/fcm/src/main/resources/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..74e5493acef9021cd4cb7239acb6de4fb4ec5fea GIT binary patch literal 6148 zcmeHK-AcnS6i(c99Yg4a!Y%{e4y7p`UpzfkFnyBet{28e-m1{&J5@%+DlU#9kvzg|KX zF+dFbGX{8b=84k**5rxIi89T!W=X90mQV Q9FQ&oiV*6EfnQ+Y3oT?xg#Z8m literal 0 HcmV?d00001