From 2dcd8d429e0eee9681c22fb29b6d839441e0e19c Mon Sep 17 00:00:00 2001 From: Mikael Henriksson Date: Mon, 13 Jun 2022 13:29:50 +0200 Subject: [PATCH] Fix: Include the correct middleware (#716) --- lib/sidekiq_unique_jobs/middleware/server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq_unique_jobs/middleware/server.rb b/lib/sidekiq_unique_jobs/middleware/server.rb index 1807a2f8..fb7f1f52 100644 --- a/lib/sidekiq_unique_jobs/middleware/server.rb +++ b/lib/sidekiq_unique_jobs/middleware/server.rb @@ -6,7 +6,7 @@ module Middleware # # @author Mikael Henriksson class Server - include Sidekiq::ClientMiddleware if defined?(Sidekiq::ServerMiddleware) + include Sidekiq::ServerMiddleware if defined?(Sidekiq::ServerMiddleware) # prepend "SidekiqUniqueJobs::Middleware" # @!parse prepends SidekiqUniqueJobs::Middleware