Skip to content

Commit 7c7a72c

Browse files
committed
f
1 parent 26d9df4 commit 7c7a72c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/table_sync/publishing

lib/table_sync/publishing/raw.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def initialize(attributes = {})
2222
self.original_attributes = attributes[:original_attributes]
2323
self.custom_version = attributes[:custom_version]
2424
self.routing_key = attributes[:routing_key]
25-
self.headers = attributes[:headers]
25+
self.headers = attributes[:headers] || {}
2626
self.event = attributes.fetch(:event, :update).to_sym
2727
self.compress = attributes.fetch(:compress, false)
2828
end

0 commit comments

Comments
 (0)