From be2f013b9afd6f00a16a438eebb37c3259d69d23 Mon Sep 17 00:00:00 2001 From: Klaus Date: Wed, 26 Mar 2025 16:50:22 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A7=88=EC=BC=80=ED=8C=85=20=ED=8A=B8?= =?UTF-8?q?=EB=9E=98=ED=82=B9=20-=20AppLaunch=20=ED=8A=B8=EB=9E=98?= =?UTF-8?q?=ED=82=B9=EC=97=90=20=EB=B9=88=20=EB=B3=B8=EB=AC=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sodalive/marketing/AdTrackingController.kt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/marketing/AdTrackingController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/marketing/AdTrackingController.kt index 704bb12..fcfaf9a 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/marketing/AdTrackingController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/marketing/AdTrackingController.kt @@ -1,5 +1,6 @@ package kr.co.vividnext.sodalive.marketing +import kr.co.vividnext.sodalive.common.ApiResponse import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody import org.springframework.web.bind.annotation.RequestMapping @@ -12,12 +13,14 @@ class AdTrackingController(private val service: AdTrackingService) { fun trackingAppLaunch( @RequestBody request: AdTrackingAppLaunchRequest ) = run { - service.saveTrackingHistory( - pid = request.pid, - type = AdTrackingHistoryType.APP_LAUNCH, - memberId = 0, - price = null, - locale = null + ApiResponse.ok( + service.saveTrackingHistory( + pid = request.pid, + type = AdTrackingHistoryType.APP_LAUNCH, + memberId = 0, + price = null, + locale = null + ) ) } }