Skip to content

Commit

Permalink
Merge pull request #365 from LeblancErwan/track-event-documentation
Browse files Browse the repository at this point in the history
docs: fixed variable declaration
  • Loading branch information
ethanneff authored Sep 6, 2017
2 parents 12303e1 + 5abe439 commit c2b5a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@
```js
var eventName = 'clicked_on_this'
var metadata = { 'custom_dictionary': 123, 'anything': 'everything' }
Branch.userCompletedAction(eventName, metaData).then(function (res) {
Branch.userCompletedAction(eventName, metadata).then(function (res) {
alert('Response: ' + JSON.stringify(res))
}).catch(function (err) {
alert('Error: ' + JSON.stringify(err.message))
Expand Down

0 comments on commit c2b5a49

Please sign in to comment.