lib/templates/initializer.rb in outboxable-0.1.0 vs lib/templates/initializer.rb in outboxable-0.1.1

- old
+ new

@@ -10,11 +10,11 @@ id: resource.id, source: 'http://localhost:3000', specversion: '1.0', type: resource.routing_key, datacontenttype: 'application/json', - data: @resource.payload + data: resource.payload }.to_json end end end end @@ -31,6 +31,6 @@ config.rabbitmq_port = ENV.fetch('RABBITMQ__PORT', 5672) config.rabbitmq_user = ENV.fetch('RABBITMQ__USER') 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 \ No newline at end of file +end