Skip to content

Commit

Permalink
fix: remove number parsing
Browse files Browse the repository at this point in the history
this code is problematic and violates the mParticle schema.
  • Loading branch information
Sam Dozor authored and mparticle-automation committed Mar 2, 2024
1 parent 4759c74 commit cab531c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public Map<String, Object> getUserAttributeSingles(long mpId) {
for (Map.Entry<String, String> stringifiedAttribute : stringifiedAttributes.entrySet()) {
String key = stringifiedAttribute.getKey();
String value = stringifiedAttribute.getValue();
typedAttributes.put(key, MPUtility.toNumberOrString(value));
typedAttributes.put(key, value);
}
return typedAttributes;
}
Expand Down

0 comments on commit cab531c

Please sign in to comment.