We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d4af91 commit 00be600Copy full SHA for 00be600
ios/RNMParticle/RNMParticle.m
@@ -487,7 +487,7 @@ + (MPProduct *)MPProduct:(id)json {
487
product.sku = json[@"sku"];
488
product.variant = json[@"variant"];
489
product.position = [json[@"position"] intValue];
490
- product.quantity = json[@"quantity"];
+ product.quantity = @([json[@"quantity"] intValue]);
491
NSDictionary *jsonAttributes = json[@"customAttributes"];
492
for (NSString *key in jsonAttributes) {
493
NSString *value = jsonAttributes[key];
0 commit comments