mirror of
https://gitlab.silvrtree.co.uk/martind2000/recipes.git
synced 2025-02-11 19:49:16 +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);
|
logger.debug(url);
|
||||||
busEmitter.emit("getRecipe", 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 {
|
else {
|
||||||
logger.error('No data block!');
|
logger.error('No data block!');
|
||||||
|
Loading…
Reference in New Issue
Block a user