Add Hello World to body

This commit is contained in:
idelgado
2017-06-20 15:49:50 -04:00
parent c01394d117
commit 30db56a2e9

View File

@@ -2,11 +2,12 @@ $(function() {
$('#sendNotificationButton').on('click', function() { $('#sendNotificationButton').on('click', function() {
$.post('/send-notification', { $.post('/send-notification', {
identity: $('#identityInput').val() identity: $('#identityInput').val(),
body: "Hello, World!"
}, function(response) { }, function(response) {
$('#identityInput').val(''); $('#identityInput').val('');
$('#message').html(response.message); $('#message').html(response.message);
console.log(response); console.log(response);
}); });
}); });
}); });