Fixed bug

This commit is contained in:
dbroqua 2018-10-10 21:20:47 +02:00
parent 3392600861
commit 2c03395371

View File

@ -45,7 +45,7 @@ class Vegetables {
properties.rows.forEach(propperty => { properties.rows.forEach(propperty => {
models.vegetableProperties models.vegetableProperties
.create({ .create({
vegetablesId: item.id, vegetableId: item.id,
propertyId: propperty.id propertyId: propperty.id
}) })
.then(() => { .then(() => {