Skip to content

Commit

Permalink
[FIX] 앰플리튜드 관련 안쓰는 기능 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghaLim committed Feb 21, 2024
1 parent dda7b17 commit 0905b93
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<String, Object> propertyMap, Long memberId) {
// Create an ObjectNode to build the JSON structure
ObjectNode identification = objectMapper.createObjectNode();
Expand Down

0 comments on commit 0905b93

Please sign in to comment.