Fixes typo

This commit is contained in:
2022-12-01 18:53:51 +03:00
parent f03aac28d8
commit dcacb30e75
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ namespace :rmq do
channels = RabbitCarrots.configuration.routing_key_mappings.map do |mapping|
# This will be supplied in initializer. At that time, the Handler will not be available to be loaded and will throw Uninitialized Constant
{ **mapping, handler_class: mapping[:handler_class].constantize }
{ **mapping, handler: mapping[:handler].constantize }
end
Rails.logger = Logger.new($stdout)

View File

@@ -1,5 +1,5 @@
# frozen_string_literal: true
module RabbitCarrots
VERSION = "0.1.5"
VERSION = "0.1.6"
end