From 3392600861e4a3787cf3c106596262a08acef56e Mon Sep 17 00:00:00 2001 From: dbroqua Date: Wed, 10 Oct 2018 21:17:25 +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 4cd6d50..1622ec2 100644 --- a/middleware/Vegetables.js +++ b/middleware/Vegetables.js @@ -43,7 +43,7 @@ class Vegetables { } properties.rows.forEach(propperty => { - models.vegetableProp + models.vegetableProperties .create({ vegetablesId: item.id, propertyId: propperty.id