Skip to content

Commit 1f37706

Browse files
authored
Merge pull request #119 from mixpanel/fix-complicated-property-types
nested dictionary should be a valid type in iOS
2 parents 1b2eab6 + 7b1ec9a commit 1f37706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/MixpanelTypeHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
return value.map { mixpanelTypeValue($0) }
4848

4949
case let value as [String: Any]:
50-
return value
50+
return value.mapValues { mixpanelTypeValue($0) }
5151

5252
case let value as MixpanelType:
5353
return value

0 commit comments

Comments
 (0)