From 669b873a4fc1b839a3c7bb7290f1a8e70a2006b2 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Fri, 11 Oct 2019 10:43:50 +0200 Subject: [PATCH] Push Messages #4 fix --- app/class/NotificationManager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/class/NotificationManager.php b/app/class/NotificationManager.php index 13320cf..d346589 100644 --- a/app/class/NotificationManager.php +++ b/app/class/NotificationManager.php @@ -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; } }