Skip to content

Commit

Permalink
Add custom payload to notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Chafik HADJ ABDOU RAZACK committed Oct 19, 2019
1 parent eb49f9e commit 7a708be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function setField($token){
$this->fields = array(
'to'=>$token,
'notification'=>$this->message,
'data'=>$this->data
'data'=>\json_encode($this->data)
);

}
Expand Down

0 comments on commit 7a708be

Please sign in to comment.