Skip to content

Commit

Permalink
docs: one more metadata correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff authored Sep 6, 2017
1 parent c8e939c commit 5abe439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@

```js
var eventName = 'clicked_on_this'
var metaData = { 'custom_dictionary': 123, 'anything': 'everything' }
Branch.userCompletedAction(eventName, metaData).then(function (res) {
var metadata = { 'custom_dictionary': 123, 'anything': 'everything' }
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 5abe439

Please sign in to comment.