Fixed bug

This commit is contained in:
dbroqua 2019-04-11 12:31:56 +02:00
parent e00a165ce2
commit b18612205a

View file

@ -8,13 +8,11 @@ class VegetableTypes {
['name', 'ASC']
],
include: [{
include: [{
model: models.Vegetables,
as: 'Vegetables',
order: [
['name', 'ASC']
]
}]
model: models.Vegetables,
as: 'Vegetables',
order: [
['name', 'ASC']
]
}]
})
.then(items => {