updates to stop it breaking with an empty table

This commit is contained in:
Martin Donnelly 2016-02-24 15:06:51 +00:00
parent 4803e6768e
commit 38840ad33a

View File

@ -76,15 +76,13 @@ function insertRecipe(obj) {
logger.debug('Insert done..'); logger.debug('Insert done..');
} }
var doInsertRecipe = (obj) = var doInsertRecipe = (obj) =>
>
{ {
// logger.info('sendSocket: ' + JSON.stringify(obj)); // logger.info('sendSocket: ' + JSON.stringify(obj));
insertRecipe(obj); insertRecipe(obj);
} }
var doGetRecipe = (url) = var doGetRecipe = (url) =>
>
{ {
// logger.info('sendSocket: ' + JSON.stringify(obj)); // logger.info('sendSocket: ' + JSON.stringify(obj));
genericGrab(url); genericGrab(url);