Skip to content

Commit b0c326e

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

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

+1-1
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)