Add Hello World to body
This commit is contained in:
@@ -2,11 +2,12 @@ $(function() {
|
||||
|
||||
$('#sendNotificationButton').on('click', function() {
|
||||
$.post('/send-notification', {
|
||||
identity: $('#identityInput').val()
|
||||
identity: $('#identityInput').val(),
|
||||
body: "Hello, World!"
|
||||
}, function(response) {
|
||||
$('#identityInput').val('');
|
||||
$('#message').html(response.message);
|
||||
console.log(response);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user