Skip to content

Commit

Permalink
Fix typo in README code
Browse files Browse the repository at this point in the history
Fix `endpointArn` typo in the README example. 

Otherwise, you would get a `ReferenceError: enpointArn is not defined` from running it.
  • Loading branch information
RodrigoEspinosa committed May 31, 2017
1 parent ee55015 commit 952d32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -65,7 +65,7 @@ androidApp.addUser('some_fake_deviceid_that_i_made_up', JSON.stringify({
}

// Send a simple String or data to the client
androidApp.sendMessage(enpointArn, 'Hi There!', function(err, messageId) {
androidApp.sendMessage(endpointArn, 'Hi There!', function(err, messageId) {
if(err) {
throw err;
}
Expand Down

0 comments on commit 952d32b

Please sign in to comment.