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']
|
['name', 'ASC']
|
||||||
],
|
],
|
||||||
include: [{
|
include: [{
|
||||||
model: models.Vegetables,
|
model: models.vegetables,
|
||||||
as: 'Vegetables',
|
as: 'Vegetables',
|
||||||
order: [
|
order: [
|
||||||
['name', 'ASC']
|
['name', 'ASC']
|
||||||
|
@ -42,7 +42,7 @@ class VegetableTypes {
|
||||||
req.params.vegetableTypesId,
|
req.params.vegetableTypesId,
|
||||||
{
|
{
|
||||||
include: [{
|
include: [{
|
||||||
model: models.Vegetables,
|
model: models.vegetables,
|
||||||
as: 'Vegetables',
|
as: 'Vegetables',
|
||||||
order: [
|
order: [
|
||||||
['name', 'ASC']
|
['name', 'ASC']
|
||||||
|
|
Loading…
Reference in a new issue