Skip to content

Commit

Permalink
make target default production
Browse files Browse the repository at this point in the history
  • Loading branch information
Smullz622 authored Aug 6, 2024
1 parent 1e62032 commit 8c6da6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/com_quality_data.rake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace :com_quality do
Rails.application.eager_load!
start = Time.now
# Takes params hash -> params[:target] must be defined (:beta or :production)
params = { target: :beta }
params = { target: (args[:target].blank? ? :production : args[:target].to_sym) }
puts params
ComQualityIntegrateJob.perform_now(params, 'log/com_quality_errors.log', false)
finish = Time.now
Expand Down

0 comments on commit 8c6da6c

Please sign in to comment.