Update heartbeat function location and name
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
function sendNodeHeartbeat(nodeId) {
|
||||
console.log(nodeId);
|
||||
}
|
||||
@@ -80,7 +80,7 @@ function createToast(notificationMessage){
|
||||
$('.toast').toast('show');
|
||||
}
|
||||
|
||||
function checkInByNodeId(nodeId){
|
||||
function sendNodeHeartbeat(nodeId){
|
||||
const Http = new XMLHttpRequest();
|
||||
const url='/nodes/'+nodeId;
|
||||
Http.open("GET", url);
|
||||
|
||||
Reference in New Issue
Block a user