Skip to content

Commit

Permalink
Merge pull request #151 from yurtesen/master
Browse files Browse the repository at this point in the history
added 3rd paramete to sendToContact() function so it is now possible …
  • Loading branch information
escopecz authored Feb 27, 2018
2 parents f202f25 + 55003b7 commit 460f8fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Api/Emails.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ public function send($id)
*
* @return array|mixed
*/
public function sendToContact($id, $contactId)
public function sendToContact($id, $contactId, $parameters = array())
{
return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', array(), 'POST');
return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', $parameters, 'POST');
}

/**
Expand Down

0 comments on commit 460f8fa

Please sign in to comment.