File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/main/java/com/uid2/client Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ public static IdentityMapV3Input fromHashedPhones(List<String> hashedPhones) {
4646 @ SerializedName ("phone_hash" )
4747 private final List <Identity > hashedPhones = new ArrayList <>();
4848
49+ // We never send unhashed emails or phone numbers in the SDK, but they are required fields in the API request
50+ @ SerializedName ("email" )
51+ private List <String > emails = Collections .unmodifiableList (new ArrayList <>());
52+ @ SerializedName ("phone" )
53+ private List <String > phones = Collections .unmodifiableList (new ArrayList <>());
54+
4955 public IdentityMapV3Input () {}
5056
5157 /**
@@ -136,7 +142,6 @@ public IdentityMapV3Input withPhone(String phone) {
136142 this .hashedPhones .add (new Identity (hashedPhone ));
137143 addToDiiMappings (hashedPhone , phone );
138144 return this ;
139-
140145 }
141146
142147 List <String > getInputDiis (String identityType , int i ) {
You can’t perform that action at this time.
0 commit comments