diff --git a/api/src/main/java/com/org/gunbbang/service/AmplitudeService.java b/api/src/main/java/com/org/gunbbang/service/AmplitudeService.java index a084f94..4ac3749 100644 --- a/api/src/main/java/com/org/gunbbang/service/AmplitudeService.java +++ b/api/src/main/java/com/org/gunbbang/service/AmplitudeService.java @@ -25,9 +25,6 @@ public class AmplitudeService { @Value("${amplitude.api.key}") private String apiKey; - @Value("${amplitude.secret.key}") - private String secretKey; - private final AmplitudeFeignClient amplitudeFeignClient; private final ObjectMapper objectMapper; private final MemberRepository memberRepository; @@ -36,11 +33,6 @@ public class AmplitudeService { private final MemberBreadTypeRepository memberBreadTypeRepository; private final MemberNutrientTypeRepository memberNutrientTypeRepository; - public String createAmplitudeToken() { - String valueToEncode = apiKey + ":" + secretKey; - return "Basic " + Base64.getEncoder().encodeToString(valueToEncode.getBytes()); - } - private ObjectNode getIdentification(Map propertyMap, Long memberId) { // Create an ObjectNode to build the JSON structure ObjectNode identification = objectMapper.createObjectNode();