Skip to content

Commit

Permalink
zero is not falsy
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaldrip committed Jan 18, 2024
1 parent 8739fdb commit e7c4003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deliver/lib/deliver/upload_price_tier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Deliver
# Set the app's pricing
class UploadPriceTier
def upload(options)
return unless options[:price_tier]
return if !options[:price_tier] || options[:price_tier] == 0

price_tier = options[:price_tier].to_s

Expand Down

0 comments on commit e7c4003

Please sign in to comment.