Skip to content

Commit 0564e82

Browse files
committed
Update README.md
Making the quick start sample to work, with the correct topic.
1 parent 0324a64 commit 0564e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ require 'mqtt'
3939

4040
# Publish example
4141
MQTT::Client.connect('test.mosquitto.org') do |c|
42-
c.publish('topic', 'message')
42+
c.publish('test', 'message')
4343
end
4444

4545
# Subscribe example

0 commit comments

Comments
 (0)