Fixed bug
This commit is contained in:
parent
b18612205a
commit
c6b8219d1e
1 changed files with 2 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue