Skip to content

Commit

Permalink
fix(mixpanel): fix issue when not passing eventProperties (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillenotfound authored and ihadeed committed Dec 30, 2016
1 parent 9441928 commit bbf75bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/mixpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ export class Mixpanel {
* @param eventProperties {any} optional
* @returns {Promise<any>}
*/
@Cordova()
@Cordova({
successIndex: 2,
errorIndex: 3
})
static track(eventName: string, eventProperties?: any): Promise<any> { return; }

/**
Expand Down

0 comments on commit bbf75bc

Please sign in to comment.