diff --git a/composer.json b/composer.json index ba87914..cdf0943 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "ebizmarts/mailchimp-lib", "type": "library", - "version": "3.0.19", + "version": "3.0.20", "description": "API client library for the MailChimp", "keywords": ["email", "api","mailchimp"], "homepage": "https://github.com/ebizmarts/mailchimp-lib", diff --git a/src/Mailchimp/CampaignsContent.php b/src/Mailchimp/CampaignsContent.php index 73a5120..adadf08 100644 --- a/src/Mailchimp/CampaignsContent.php +++ b/src/Mailchimp/CampaignsContent.php @@ -51,6 +51,6 @@ public function modify($campaignId,$plainText=null,$html=null,$url=null,$templat if($template) $_params['template'] = $template; if($archive) $_params['archive'] = $archive; if($variateContents) $_params['variate_contents'] = $variateContents; - return $this->master->call('campaigns/'.$campaignId.'/content',$_params,Mailchimp::PATCH); + return $this->master->call('campaigns/'.$campaignId.'/content',$_params,Mailchimp::PUT); } } \ No newline at end of file