Fixed bug

This commit is contained in:
dbroqua 2018-10-10 21:14:38 +02:00
parent e93ad5d7b3
commit a09d88684e

View file

@ -40,6 +40,7 @@ class Vegetables {
if (properties.count === saved) { if (properties.count === saved) {
callback(null, item) callback(null, item)
} }
}
properties.rows.forEach(propperty => { properties.rows.forEach(propperty => {
models.vegetableProp models.vegetableProp
@ -57,7 +58,6 @@ class Vegetables {
_callback() _callback()
}) })
}) })
}
} else { } else {
callback(null, item) callback(null, item)
} }