From 0905b9379720933cddf8f6495fe516b6096f7228 Mon Sep 17 00:00:00 2001 From: seunghaLim Date: Wed, 21 Feb 2024 21:58:05 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EC=95=B0=ED=94=8C=EB=A6=AC=ED=8A=9C?= =?UTF-8?q?=EB=93=9C=20=EA=B4=80=EB=A0=A8=20=EC=95=88=EC=93=B0=EB=8A=94=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/org/gunbbang/service/AmplitudeService.java | 8 -------- 1 file changed, 8 deletions(-) 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();