mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Formatting
This commit is contained in:
parent
7385564bcd
commit
fb8916f4ec
1 changed files with 3 additions and 3 deletions
|
@ -338,10 +338,10 @@ module Sidekiq
|
|||
when "ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper"
|
||||
job_args = self['wrapped'] ? args[0]["arguments"] : []
|
||||
if 'ActionMailer::DeliveryJob' == (self['wrapped'] || args[0])
|
||||
# remove MailerClass, mailer_method and 'deliver_now'
|
||||
job_args.drop(3)
|
||||
# remove MailerClass, mailer_method and 'deliver_now'
|
||||
job_args.drop(3)
|
||||
else
|
||||
job_args
|
||||
job_args
|
||||
end
|
||||
else
|
||||
args
|
||||
|
|
Loading…
Add table
Reference in a new issue