We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26d9df4 commit 7c7a72cCopy full SHA for 7c7a72c
1 file changed
lib/table_sync/publishing/raw.rb
@@ -22,7 +22,7 @@ def initialize(attributes = {})
22
self.original_attributes = attributes[:original_attributes]
23
self.custom_version = attributes[:custom_version]
24
self.routing_key = attributes[:routing_key]
25
- self.headers = attributes[:headers]
+ self.headers = attributes[:headers] || {}
26
self.event = attributes.fetch(:event, :update).to_sym
27
self.compress = attributes.fetch(:compress, false)
28
end
0 commit comments