mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-01 19:46:44 +00:00
Clarify publish function definition
This commit is contained in:
parent
7e5fe4802f
commit
04ca3b3042
@ -30,6 +30,7 @@ publish = do ->
|
||||
uuid = uuid.value
|
||||
channel = "device-#{uuid}-logs"
|
||||
|
||||
# Redefine original function
|
||||
publish = (message) ->
|
||||
pubnub.publish({channel, message})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user