diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 3b65842..a1f79ce 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -469,9 +469,9 @@ All transactions are printed to the console. To use this piece of code, you will .. code-block:: js - const WebSocket = require('ws'); + const WebSocket = require('ws') - const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions'); + const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions') ws.on('open', () => { console.log("CONNECTED")