mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 22:06:47 +00:00
Update initializer.rb
This commit is contained in:
parent
ad7696ef47
commit
17887dc81d
@ -12,7 +12,7 @@ module Outboxable
|
||||
specversion: '1.0',
|
||||
type: resource.routing_key,
|
||||
datacontenttype: 'application/json',
|
||||
data: @resource.payload
|
||||
data: resource.payload
|
||||
}.to_json
|
||||
end
|
||||
end
|
||||
@ -33,4 +33,4 @@ Outboxable.configure do |config|
|
||||
config.rabbitmq_password = ENV.fetch('RABBITMQ__PASSWORD')
|
||||
config.rabbitmq_vhost = ENV.fetch('RABBITMQ__VHOST')
|
||||
config.rabbitmq_event_bus_exchange = ENV.fetch('EVENTBUS__EXCHANGE_NAME')
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user