Host should be derived from API key
dawesi opened this issue · 2 comments
dawesi commented
by using listLast(apikey,'-') you can obtain the dc for the mailchimp account
the hard coded references to us1 can then be removed permanently.
eg:
https://us1.api.mailchimp.com/3.0/
should be:
https://#dc#.api.mailchimp.com/3.0/
- put appropriate variable here
GunnarLieb commented
Please see line 25 in Mailchimp.cfc. It's already there
GunnarLieb commented
Will add comment to cfc