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.

Added missing `default_country_iso` to store permitted attributes

Damian Legawiec0912f45fa0f1
diff --git a/core/lib/spree/permitted_attributes.rb b/core/lib/spree/permitted_attributes.rb
index ca3be4c4d1..cd3a2cf2da 100644
--- a/core/lib/spree/permitted_attributes.rb
+++ b/core/lib/spree/permitted_attributes.rb
@@ -142,7 +142,7 @@ module Spree
:logo, :mailer_logo, :social_logo, :favicon_image,
:import_products_from_store_id, :import_payment_methods_from_store_id,
:checkout_message, :customer_terms_of_service, :customer_privacy_policy,
- :customer_returns_policy, :customer_shipping_policy]
+ :customer_returns_policy, :customer_shipping_policy, :default_country_iso]
@@store_credit_attributes = %i[amount currency category_id memo]