Skip to content

Commit cab531c

Browse files
samdozormparticle-automation
authored andcommitted
fix: remove number parsing
this code is problematic and violates the mParticle schema.
1 parent 4759c74 commit cab531c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-core/src/main/java/com/mparticle/internal/database/services/MParticleDBManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ public Map<String, Object> getUserAttributeSingles(long mpId) {
530530
for (Map.Entry<String, String> stringifiedAttribute : stringifiedAttributes.entrySet()) {
531531
String key = stringifiedAttribute.getKey();
532532
String value = stringifiedAttribute.getValue();
533-
typedAttributes.put(key, MPUtility.toNumberOrString(value));
533+
typedAttributes.put(key, value);
534534
}
535535
return typedAttributes;
536536
}

0 commit comments

Comments
 (0)