Skip to content

Commit 0b37f58

Browse files
committed
Merge pull request #1 from christian-thomas/patch-1
Fix PostCampaignsSend so that send is executed.
2 parents 8e97dfa + 3d0cbef commit 0b37f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/Resources.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public function UpdateCampaign(ApiCampaign $apiCampaign) {
305305
}
306306

307307
public function PostCampaignsSend(ApiCampaignSend $apiCampaignSend) {
308-
return new ApiCampaignSend('campaigns/send', 'POST', $apiCampaignSend->toJson());
308+
return new ApiCampaignSend($this->execute('campaigns/send', 'POST', $apiCampaignSend->toJson()));
309309
}
310310

311311
public function GetCampaignsSendBySendId($sendId) {

0 commit comments

Comments
 (0)