nufyoot / createsend-node

Node.js Campaign Monitor API wrapper
MIT License
59 stars 34 forks source link

ConsentToTrack flag throws error. #26

Open brycehowitson opened 3 years ago

brycehowitson commented 3 years ago

ConsentToTrack is a settable attribute when adding to a subscription. https://www.campaignmonitor.com/api/subscribers/#adding-a-subscriber

However adding "ConsentToTrack": "Yes" to user details on either subscribers.addSubscriber() or subscribers.updateSubscriber() returns "SyntaxError: Unexpected string".