Fix typo as there is no instanciated client in the sample...

This commit is contained in:
orel committed 2021-02-05 17:05:04 +01:00
1 parent 13aa5a4e25
commit eddc288d9e
1 file changed
+1 -1
+1 -1
View File
@@ -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: