diff --git a/middleware/Vegetables.js b/middleware/Vegetables.js index 1622ec2..f9adbf1 100644 --- a/middleware/Vegetables.js +++ b/middleware/Vegetables.js @@ -45,7 +45,7 @@ class Vegetables { properties.rows.forEach(propperty => { models.vegetableProperties .create({ - vegetablesId: item.id, + vegetableId: item.id, propertyId: propperty.id }) .then(() => {