Merge pull request #54 from zborboa-google/patch-2

Fix response format
This commit is contained in:
Zach Borboa
2014-05-19 21:53:34 -07:00
@@ -20,7 +20,7 @@ if ($curl->response->total === 0) {
$lists = $curl->response->data;
$list = $lists['0'];
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.format', array(
$curl->post(MAILCHIMP_BASE_URL . '/lists/subscribe.json', array(
'apikey' => MAILCHIMP_API_KEY,
'id' => $list->id,
'email' => array(