Skip to content

Commit d2bc67f

Browse files
dhruvCWcharkost
authored andcommitted
Fix: sidekiq middleware
correctly resolve sidekiq constant name, to solve uninitialized constant Prosopite::Middleware::Sidekiq::ServerMiddleware (NameError)
1 parent 192e779 commit d2bc67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/prosopite/middleware/sidekiq.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Prosopite
22
module Middleware
33
class Sidekiq
4-
include Sidekiq::ServerMiddleware
4+
include ::Sidekiq::ServerMiddleware
55

66
def call(_worker, _msg, _queue)
77
Prosopite.scan

0 commit comments

Comments
 (0)