Skip to content

Commit

Permalink
Fix enum definition in TaxRate.rb
Browse files Browse the repository at this point in the history
How has this ever worked this way?
  • Loading branch information
tvdeyen committed Oct 31, 2024
1 parent f761108 commit b4c03f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/tax_rate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TaxRate < Spree::Base
enum :level, {
item: 0,
order: 1
}, _suffix: true
}, suffix: true

belongs_to :zone, class_name: "Spree::Zone", inverse_of: :tax_rates, optional: true

Expand Down

0 comments on commit b4c03f2

Please sign in to comment.