Remove unused join table

Enterprises used to have products and products have variants. But now
enterprises have variants directly.
This commit is contained in:
Maikel Linke
2024-09-20 16:44:25 +10:00
parent 2be8ef96be
commit 318790d207

View File

@@ -104,7 +104,7 @@ module Api
properties = Spree::Property
.joins(
producer_properties: {
producer: { supplied_products: { variants: { exchanges: :order_cycle } } }
producer: { supplied_variants: { exchanges: :order_cycle } }
}
)
.merge(Exchange.outgoing)