Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed: remove duplicated `state` key for `StockLocation#address`

Damian Legawiec3b5c24d82c32
diff --git a/core/app/models/spree/stock_location.rb b/core/app/models/spree/stock_location.rb
index 37748d5e0e..c9b26fc07c 100644
--- a/core/app/models/spree/stock_location.rb
+++ b/core/app/models/spree/stock_location.rb
@@ -133,7 +133,6 @@ module Spree
address2: address2,
city: city,
state: state,
- state: state,
state_name: state_name,
country: country,
zipcode: zipcode,