Fixed bug

This commit is contained in:
dbroqua 2019-04-11 12:34:20 +02:00
parent b18612205a
commit c6b8219d1e

View file

@ -8,7 +8,7 @@ class VegetableTypes {
['name', 'ASC']
],
include: [{
model: models.Vegetables,
model: models.vegetables,
as: 'Vegetables',
order: [
['name', 'ASC']
@ -42,7 +42,7 @@ class VegetableTypes {
req.params.vegetableTypesId,
{
include: [{
model: models.Vegetables,
model: models.vegetables,
as: 'Vegetables',
order: [
['name', 'ASC']