From 5422bc0cefa77f761ec8d1f1a157abb7733c7c96 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Fri, 11 Oct 2019 10:45:07 +0200 Subject: [PATCH] JS fix --- app/templates/js/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/templates/js/script.js b/app/templates/js/script.js index e932e45..335dacb 100644 --- a/app/templates/js/script.js +++ b/app/templates/js/script.js @@ -29,7 +29,8 @@ if ('serviceWorker' in navigator) { url: 'ajax', type: 'POST', data: { - "notification" : '', + "notification" : 'X', + "action": 'subscribe', "token": token }, success: function(data){