Skip to content

Commit

Permalink
Fixed a bug referencing commerce event names
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalmo Cirne committed Nov 7, 2015
1 parent f849295 commit c9258b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Crash reporter has been implemented as an optional subspec
* Validating the authenticity of network requests by alternative means to avoid errors raised by 3rd party SDKs mutating and proxying mParticle's original object performing the request
* Removed legacy semaphores from network connections
* Fixed a bug referencing commerce event names

## 5.0.2

Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/Kits/Kahuna/MPKitKahuna.m
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ - (MPKitExecStatus *)failedToRegisterForUserNotifications:(NSError *)error {
}

- (MPKitExecStatus *)logCommerceEvent:(MPCommerceEvent *)commerceEvent {
NSString *eventName = self.defaultEventNames[@(commerceEvent.action)];
NSString *eventName = self.defaultEventNames[@(commerceEvent.type)];
MPKitExecStatus *execStatus;

if (!eventName) {
Expand Down

0 comments on commit c9258b5

Please sign in to comment.