thorning / node-mailchimp

node mailchimp wrapper using v3 of the mailchimp api
MIT License
288 stars 35 forks source link

You should probably add err handling for shorthand to docs #9

Closed dylanh724 closed 8 years ago

dylanh724 commented 8 years ago

mailchimp.post('/lists/id', { email : '...' ... }) .then(function(results) { ... }, function(err) { ... })

thorning commented 8 years ago

I added .catch to the shorthand examples, same as in the other examples