Push Messages #4 fix

This commit is contained in:
JonatanRek 2019-10-11 10:43:50 +02:00
parent b63be94d27
commit 669b873a4f

View File

@ -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;
}
}