Update DFC product importer

This commit is contained in:
Matt-Yorkley
2023-08-08 14:18:03 +01:00
committed by Gaetan Craig-Riou
parent d281e9d1b5
commit 6e7b97879b

View File

@@ -66,7 +66,7 @@ class SuppliedProductBuilder < DfcBuilder
name: supplied_product.name,
description: supplied_product.description,
price: 0, # will be in DFC Offer
primary_taxon: taxon(supplied_product)
primary_taxon_id: taxon(supplied_product).id
).tap do |product|
QuantitativeValueBuilder.apply(supplied_product.quantity, product)
end