From 2c03395371c521264e3b77daca369864b2304e6e Mon Sep 17 00:00:00 2001 From: dbroqua Date: Wed, 10 Oct 2018 21:20:47 +0200 Subject: [PATCH] Fixed bug --- middleware/Vegetables.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(() => {