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(); - } -}