lib/penthouse/sidekiq/middleware/server.rb in penthouse-0.11.0 vs lib/penthouse/sidekiq/middleware/server.rb in penthouse-0.12.0
- old
+ new
@@ -1,10 +1,10 @@
module Penthouse
module Sidekiq
module Middleware
class Server
def call(worker_class, item, queue)
- Penthouse.switch(item['tenant']) do
+ Penthouse.switch(tenant_identifier: item['tenant']) do
yield
end
end
end
end