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 1, 2024
1 parent be3cabd commit b0c326e
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 b0c326e

Please sign in to comment.