* remove puts/debug settings
This commit is contained in:
parent
0ea2931837
commit
840d2169b1
|
|
@ -18,10 +18,7 @@ class ApiRecurlyController < ApiController
|
|||
|
||||
if billing_info && Rails.application.config.remove_whitespace_credit_card
|
||||
number = billing_info[:number]
|
||||
puts "NUMBER #{number}"
|
||||
puts "-------------------------------->>>>>>>>>>>>>>>>>>>>>"
|
||||
billing_info[:number] = number.gsub(/\s+/, "") if number
|
||||
puts "-------------------------------->>>>>>>>>>>>>>>>>>>>> #{billing_info[:number]}"
|
||||
end
|
||||
|
||||
if current_user
|
||||
|
|
|
|||
|
|
@ -333,6 +333,6 @@ if defined?(Bundler)
|
|||
config.alerts_api_enabled = true
|
||||
|
||||
config.gear_check_ignore_high_latency = false
|
||||
config.remove_whitespace_credit_card = true
|
||||
config.remove_whitespace_credit_card = false
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue