Skip to content

Commit c67b6c2

Browse files
authored
Merge pull request sngrl#13 from johann59/master
Change the test "body" in Notification::jsonSerialize
2 parents 0890e3d + b895dda commit c67b6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function jsonSerialize()
8383
if ($this->title) {
8484
$jsonData['title'] = $this->title;
8585
}
86-
if ($this->title) {
86+
if ($this->body) {
8787
$jsonData['body'] = $this->body;
8888
}
8989
if ($this->badge) {

0 commit comments

Comments
 (0)