mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Push Messages #4 fix
This commit is contained in:
1 parent
b63be94d27
commit
669b873a4f
1 file changed
+3
-1
@@ -33,8 +33,10 @@ class NotificationManager
|
||||
$notification = new Notification($serverKey);
|
||||
$notification->to($to);
|
||||
$notification->notification($data['title'], $data['body'], $data['icon'], '');
|
||||
$notification->send();
|
||||
$answer = $notification->send();
|
||||
$notification = null;
|
||||
|
||||
return $answer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user