Update heartbeat function location and name

This commit is contained in:
Logan Cusano
2023-07-16 01:50:01 -04:00
parent fc743cbb46
commit 23bea5f74e
4 changed files with 3 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
function sendNodeHeartbeat(nodeId) {
console.log(nodeId);
}

View File

@@ -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);