Skip to content

Commit

Permalink
closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed May 11, 2018
1 parent 07e3bdd commit a9ff4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/Mailchimp/CampaignsContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit a9ff4c9

Please sign in to comment.