mirror of
https://gitlab.silvrtree.co.uk/martind2000/recipes.git
synced 2025-02-11 16:19:15 +00:00
basic working recipe app
This commit is contained in:
parent
65b2ec022e
commit
b6da7161f8
@ -194,13 +194,6 @@ router.post('/add', function(req, res) {
|
||||
logger.debug(url);
|
||||
busEmitter.emit("getRecipe", url);
|
||||
|
||||
|
||||
/* if (data.hasOwnProperty('temp')) {
|
||||
// busEmitter.emit("saveTempData", {time: now.toJSON(), value: parseFloat(data.temp)});
|
||||
}
|
||||
else {
|
||||
logger.error('No url to add!');
|
||||
}*/
|
||||
}
|
||||
else {
|
||||
logger.error('No data block!');
|
||||
|
Loading…
Reference in New Issue
Block a user