Fixed bug
This commit is contained in:
parent
e93ad5d7b3
commit
a09d88684e
1 changed files with 17 additions and 17 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue