Closed clap-0 closed 6 months ago
agreeMarketing
기존 사용자들의 데이터 중 agreeMarketing 값이 null인 사용자들이 대다수였기 때문에 agreeMarketing이 null인 경우에 마케팅 수신 동의 여부 값이 null이 아닌 false가 되도록 하였습니다.
null
false
@Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) public class ConsentPolicyResponse { private Boolean agreeMarketing; public static ConsentPolicyResponse create(ConsentPolicy consentPolicy) { ConsentPolicyResponse response = new ConsentPolicyResponse(); response.agreeMarketing = consentPolicy != null && consentPolicy.getAgreeMarketing(); return response; } }
💜 작업 내용
agreeMarketing
) 조회 API 추가agreeMarketing
추가✅ PR Point
기존 사용자들의 데이터 중
agreeMarketing
값이null
인 사용자들이 대다수였기 때문에agreeMarketing
이null
인 경우에 마케팅 수신 동의 여부 값이null
이 아닌false
가 되도록 하였습니다.