mirror of
https://github.com/ditkrg/outboxable.git
synced 2026-01-22 13:56:49 +00:00
refactor: remove metadata argument from outbox creation.
This commit is contained in:
parent
4a6952f767
commit
46f56a4a08
@ -27,12 +27,7 @@ module Outboxable
|
||||
outboxes.new(
|
||||
routing_key:,
|
||||
exchange: Outboxable.configuration.rabbitmq_exchange_name,
|
||||
payload: as_json,
|
||||
metadata: if respond_to?(:metadata_for_outbox)
|
||||
metadata_for_outbox
|
||||
else
|
||||
{}
|
||||
end
|
||||
payload: as_json
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user