Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mukul-bittmax committed May 6, 2019
1 parent c0a65f5 commit cc86880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Sample NodeJS program::
var sign = crypto.createHmac('sha256', CLIENT_SECRET).update(CLIENT_KEY + time).digest(
'hex')

const coinmaxWebsocket = new ws(`wss://sandbox.coinmax.com.au/ws?X-API-KEY=${CLIENT_KEY}&timestamp=${time}&X-API-SIGNATURE=${sign}`);
const coinmaxWebsocket = new ws(`wss://coinmax.com.au/ws?X-API-KEY=${CLIENT_KEY}&timestamp=${time}&X-API-SIGNATURE=${sign}`);
coinmaxWebsocket.on('open', function open() {
coinmaxWebsocket.send(JSON.stringify({
"action": "subscribe",
Expand Down

0 comments on commit cc86880

Please sign in to comment.