lib/dispatch-rider/notification_services/base.rb in dispatch-rider-1.9.0 vs lib/dispatch-rider/notification_services/base.rb in dispatch-rider-2.0.0
- old
+ new
@@ -39,10 +39,10 @@
def channel(name)
raise NotImplementedError
end
def publish_to_channel(channel, message:)
- channel.publish(serialize(message))
+ channel.publish(message: serialize(message))
end
private
def serialize(item)