diff --git a/app/services/cart_service.rb b/app/services/cart_service.rb index cf6ffc40b4..5bb54c6dbb 100644 --- a/app/services/cart_service.rb +++ b/app/services/cart_service.rb @@ -22,6 +22,8 @@ class CartService valid? end + private + def attempt_cart_add_variants(variants_data) loaded_variants = indexed_variants(variants_data) @@ -71,8 +73,6 @@ class CartService end end - private - def scoper @scoper ||= OpenFoodNetwork::ScopeVariantToHub.new(@distributor) end