diff --git a/middleware/VegetableTypes.js b/middleware/VegetableTypes.js index 61d74f4..e45821f 100644 --- a/middleware/VegetableTypes.js +++ b/middleware/VegetableTypes.js @@ -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 => {