We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a5d46 commit af6b462Copy full SHA for af6b462
app/jobs/hawt_service_job.rb
@@ -4,7 +4,7 @@ class HawtServiceJob
4
sidekiq_options queue: :protip
5
6
def perform(id, action)
7
- return '{}' unless Rails.env.production?
+ return '{}' # unless Rails.env.production?
8
@protip = Protip.find(id)
9
url = URI.parse("#{ENV['PRIVATE_URL']}/api/v1/protips/#{action}.json").to_s
10
protip_json = MultiJson.load(protip_hash.to_json)
0 commit comments