mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
parent
4140fa62f9
commit
ecfc89e4d7
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ module Agents
|
|||
def receive(incoming_events)
|
||||
mqtt_client.connect do |c|
|
||||
incoming_events.each do |event|
|
||||
c.publish(interpolated(event)['topic'], event)
|
||||
c.publish(interpolated(event)['topic'], event.payload)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue