lib/devise/async/worker.rb in devise-async-0.6.0 vs lib/devise/async/worker.rb in devise-async-0.7.0
- old
+ new
@@ -2,9 +2,10 @@
module Async
class Worker
# Used is the internal interface for devise-async to enqueue notifications
# to the desired backend.
def self.enqueue(method, resource_class, resource_id, opts)
+ opts.stringify_keys!
backend_class.enqueue(method, resource_class, resource_id, opts)
end
private