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){