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 e7dd9d3 commit 8726b39Copy full SHA for 8726b39
lib/solid_queue/dispatcher/recurring_task.rb
@@ -4,7 +4,7 @@ module SolidQueue
4
class Dispatcher::RecurringTask
5
class << self
6
def wrap(args)
7
- args.first.is_a?(self) ? args.first : from_configuration(args.first, **args.second)
+ args.is_a?(self) ? args : from_configuration(args.first, **args.second)
8
end
9
10
def from_configuration(key, **options)
0 commit comments