mirror of
https://gitlab.silvrtree.co.uk/martind2000/recipes.git
synced 2025-01-25 20:06:16 +00:00
updates to stop it breaking with an empty table
This commit is contained in:
parent
4803e6768e
commit
38840ad33a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user