Skip to content
Snippets Groups Projects
Commit 6e41c18e authored by Arya Pradipta's avatar Arya Pradipta
Browse files

adding notif fix

parent 7f66b8fa
Branches
No related merge requests found
Pipeline #4319 passed with stages
in 8 minutes and 29 seconds
...@@ -37,12 +37,13 @@ class FirebaseNotif ...@@ -37,12 +37,13 @@ class FirebaseNotif
"notification" => [ "notification" => [
"title" => $title, "title" => $title,
"body" => $body, "body" => $body,
"click_action" => $kode "click_action" => $kodeClick
], ],
"data" => [ "data" => [
"id" => $id "id" => $id
] ]
]; ];
echo json_encode($vars);
// $cat = $_POST["kategori"]; // $cat = $_POST["kategori"];
// if ($cat == "pengumuman" ) { // if ($cat == "pengumuman" ) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment