Fixed bug
This commit is contained in:
parent
e00a165ce2
commit
b18612205a
1 changed files with 5 additions and 7 deletions
|
@ -7,7 +7,6 @@ class VegetableTypes {
|
||||||
order: [
|
order: [
|
||||||
['name', 'ASC']
|
['name', 'ASC']
|
||||||
],
|
],
|
||||||
include: [{
|
|
||||||
include: [{
|
include: [{
|
||||||
model: models.Vegetables,
|
model: models.Vegetables,
|
||||||
as: 'Vegetables',
|
as: 'Vegetables',
|
||||||
|
@ -15,7 +14,6 @@ class VegetableTypes {
|
||||||
['name', 'ASC']
|
['name', 'ASC']
|
||||||
]
|
]
|
||||||
}]
|
}]
|
||||||
}]
|
|
||||||
})
|
})
|
||||||
.then(items => {
|
.then(items => {
|
||||||
if (!items) {
|
if (!items) {
|
||||||
|
|
Loading…
Reference in a new issue