Skip to content

Commit a84ed8e

Browse files
alla-udaywillpassidomo
authored andcommitted
fix syntax errors
1 parent daca3ea commit a84ed8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/RNMParticle/RNMParticle.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ + (MPCommerceEvent *)MPCommerceEvent:(id)json {
417417
commerceEvent.checkoutStep = [json[@"checkoutStep"] intValue];
418418
commerceEvent.nonInteractive = [json[@"nonInteractive"] boolValue];
419419
if (json[@"shouldUploadEvent"] != nil) {
420-
event.shouldUploadEvent = [json[@"shouldUploadEvent"] boolValue]
420+
commerceEvent.shouldUploadEvent = [json[@"shouldUploadEvent"] boolValue];
421421
}
422422

423423
NSMutableArray *products = [NSMutableArray array];
@@ -606,7 +606,7 @@ + (MPEvent *)MPEvent:(id)json {
606606
event.startTime = json[@"startTime"];
607607
event.type = [json[@"type"] intValue];
608608
if (json[@"shouldUploadEvent"] != nil) {
609-
event.shouldUploadEvent = [json[@"shouldUploadEvent"] boolValue]
609+
event.shouldUploadEvent = [json[@"shouldUploadEvent"] boolValue];
610610
}
611611

612612
NSDictionary *jsonFlags = json[@"customFlags"];

0 commit comments

Comments
 (0)