Skip to content

Commit

Permalink
Use for non-loops (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
yachtcaptain23 authored and Cory McDonald committed Aug 5, 2019
1 parent 100081b commit a0f1c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/migrate_uphold_access_parameters_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def perform(publisher_id:, parameters:, default_currency:)

was_successful = connection.sync_from_uphold!
# Let's not queue up a job that will ultimately not work due to invalid access_parameters
next unless was_successful
return unless was_successful

connection.reload

Expand Down

0 comments on commit a0f1c42

Please sign in to comment.