Skip to content

Commit

Permalink
Update promotion.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
brchristian authored Jul 7, 2020
1 parent 8b37c63 commit 0d1c3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/promotion.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def products
rules.where(type: "Spree::Promotion::Rules::Product").flat_map(&:products).uniq
end

# Whether the promotion has exceeded it's usage restrictions.
# Whether the promotion has exceeded its usage restrictions.
#
# @param excluded_orders [Array<Spree::Order>] Orders to exclude from usage limit
# @return true or false
Expand Down

0 comments on commit 0d1c3ce

Please sign in to comment.