From d6e30e6a3273315cbc7c8261670d81d25c5a3d49 Mon Sep 17 00:00:00 2001 From: junwon Date: Mon, 26 Aug 2024 22:24:26 +0900 Subject: [PATCH] =?UTF-8?q?remove=20:=20=EB=AF=B9=EC=8A=A4=ED=8C=A8?= =?UTF-8?q?=EB=84=90=20=ED=99=95=EC=9D=B8=EC=9A=A9=20controller=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mixpanel/MixpanelController.java | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 application/src/main/java/org/depromeet/spot/application/mixpanel/MixpanelController.java diff --git a/application/src/main/java/org/depromeet/spot/application/mixpanel/MixpanelController.java b/application/src/main/java/org/depromeet/spot/application/mixpanel/MixpanelController.java deleted file mode 100644 index ca5ed51f..00000000 --- a/application/src/main/java/org/depromeet/spot/application/mixpanel/MixpanelController.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.depromeet.spot.application.mixpanel; - -import org.depromeet.spot.usecase.service.util.MixpanelUtil; -import org.depromeet.spot.usecase.service.util.MixpanelUtil.MixpanelEvent; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; - -import io.swagger.v3.oas.annotations.tags.Tag; -import lombok.RequiredArgsConstructor; -import lombok.extern.slf4j.Slf4j; - -@Slf4j -@RestController -@RequiredArgsConstructor -@Tag(name = "믹스패널 이벤트") -public class MixpanelController { - - private final MixpanelUtil mixpanelUtil; - - @PostMapping("/trackEvent") - public String trackEvent( - @RequestParam MixpanelEvent mixpanelEvent, @RequestParam String distinctId) { - log.info("trackEvent"); - mixpanelUtil.track(mixpanelEvent, distinctId); - return "Event tracked: " + mixpanelEvent.getValue(); - } -}