Merge pull request #307 from mlyszczek/1.2.x

master.js: fix missing response for /api/getID
This commit is contained in:
Hornwitser authored and GitHub committed 2020-08-27 11:05:01 +02:00
commit 320677194e
1 file changed
+1
+1
View File
@@ -329,6 +329,7 @@ app.post("/api/getID", authenticate.middleware, function(req,res) {
} }
// console.log("Slave registered: " + slaves[req.body.unique].mac + " : " + slaves[req.body.unique].serverPort+" at " + slaves[req.body.unique].publicIP + " with name " + slaves[req.body.unique].instanceName); // console.log("Slave registered: " + slaves[req.body.unique].mac + " : " + slaves[req.body.unique].serverPort+" at " + slaves[req.body.unique].publicIP + " with name " + slaves[req.body.unique].instanceName);
} }
res.sendStatus(200);
}); });
/** /**
POST Allows you to add metadata related to slaves for other tools, like owner data, descriptions or statistics. POST Allows you to add metadata related to slaves for other tools, like owner data, descriptions or statistics.