Update README.md

fix wrong reference to "realTimeApi" in README.md
master
chris-makaio 5 years ago committed by GitHub
parent fcdb89ee05
commit 6d608bb8a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ const realTimeAPI = new RealTimeAPI("wss://demo.rocket.chat/websocket");
realTimeAPI.keepAlive().subscribe(); realTimeAPI.keepAlive().subscribe();
// Responds "pong" to the "ping" message sent by the Realtime API. To keep the connection alive. // Responds "pong" to the "ping" message sent by the Realtime API. To keep the connection alive.
const auth = realTimeApi.login(USERNAME, PASSWORD); const auth = realTimeAPI.login(USERNAME, PASSWORD);
// Creating Observable // Creating Observable
//Now subscribing the observable //Now subscribing the observable

Loading…
Cancel
Save