Skip to content

Commit

Permalink
Merge pull request #283 from GEON-PPANG/fix/#282
Browse files Browse the repository at this point in the history
[FIX] 앰플리튜드 관련 안쓰는 기능 삭제
  • Loading branch information
seunghaLim authored Feb 21, 2024
2 parents 77d910f + 0905b93 commit 1566c00
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 1566c00

Please sign in to comment.