From 6e41c18e121b3ba469d1d1392ae89d0405a523da Mon Sep 17 00:00:00 2001
From: aryapradipta9 <aryapradipta9@gmail.com>
Date: Thu, 19 Apr 2018 19:47:20 +0700
Subject: [PATCH] adding notif fix

---
 sendNotif.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sendNotif.php b/sendNotif.php
index 5ceeb00..30be0c6 100755
--- a/sendNotif.php
+++ b/sendNotif.php
@@ -37,12 +37,13 @@ class FirebaseNotif
             "notification" => [
                 "title" => $title,
                 "body" => $body,
-                "click_action" => $kode
+                "click_action" => $kodeClick
             ],
             "data" => [
                 "id" => $id
             ]
         ];
+        echo json_encode($vars);
         
         // $cat = $_POST["kategori"];
         // if ($cat == "pengumuman" ) {
-- 
GitLab