Skip to content

Commit 460f8fa

Browse files
authored
Merge pull request #151 from yurtesen/master
added 3rd paramete to sendToContact() function so it is now possible …
2 parents f202f25 + 55003b7 commit 460f8fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Api/Emails.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ public function send($id)
7171
*
7272
* @return array|mixed
7373
*/
74-
public function sendToContact($id, $contactId)
74+
public function sendToContact($id, $contactId, $parameters = array())
7575
{
76-
return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', array(), 'POST');
76+
return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', $parameters, 'POST');
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)