romanpitak / dotMailer-API-v2-PHP-client

PHP client library for the dotMailer v2 (REST) API with MULTIPLE ACCOUNTS SUPPORT!
MIT License
21 stars 31 forks source link

Issue with Resources:GetCampaignsSendBySendId() #31

Open dekey opened 7 years ago

dekey commented 7 years ago

Hi. There is some issue with Resources:GetCampaignsSendBySendId() Currently on this line: https://github.com/romanpitak/dotMailer-API-v2-PHP-client/blob/master/src/Resources/Resources.php#L360

There is no execution so request will not be send to Dotmailer as result we will have array. I suggest following solution in my PR: