Fix typo as there is no instanciated client in the sample...
This commit is contained in:
1 parent
13aa5a4e25
commit
eddc288d9e
1 file changed
+1
-1
@@ -122,7 +122,7 @@ Sample to setup an authed socket
|
||||
OctoPrint.socket.connect();
|
||||
OctoPrint.browser.login("myusername", "mypassword", true)
|
||||
.done(function(response) {
|
||||
client.socket.sendAuth("myusername", response.session);
|
||||
OctoPrint.socket.sendAuth("myusername", response.session);
|
||||
});
|
||||
|
||||
.. _sec-jsclient-socket-throttling:
|
||||
|
||||
Reference in new issue
Block a user