Skip to content

Commit

Permalink
Merge pull request #68 from ker0x/hotfix/issue-67
Browse files Browse the repository at this point in the history
[fix #67] Add parameter tag to null when sending an action
  • Loading branch information
ker0x authored Aug 28, 2017
2 parents 07c5ff1 + a3a861a commit 1a498fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Send.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function action(string $recipient, string $action, string $notificationTy
$this->isValidAction($action);
$this->isValidNotificationType($notificationType);

$request = new SendRequest($this->pageToken, $action, $recipient, $notificationType, SendRequest::TYPE_ACTION);
$request = new SendRequest($this->pageToken, $action, $recipient, $notificationType, null, SendRequest::TYPE_ACTION);
$response = $this->client->post('me/messages', $request->build());

return new SendResponse($response);
Expand Down

0 comments on commit 1a498fd

Please sign in to comment.