Skip to content

Commit

Permalink
Fix: sidekiq middleware
Browse files Browse the repository at this point in the history
correctly resolve sidekiq constant name,

to solve uninitialized constant Prosopite::Middleware::Sidekiq::ServerMiddleware (NameError)
  • Loading branch information
dhruvCW authored and charkost committed Sep 28, 2023
1 parent 192e779 commit d2bc67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prosopite/middleware/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Prosopite
module Middleware
class Sidekiq
include Sidekiq::ServerMiddleware
include ::Sidekiq::ServerMiddleware

def call(_worker, _msg, _queue)
Prosopite.scan
Expand Down

0 comments on commit d2bc67f

Please sign in to comment.