Skip to content

Commit 761d972

Browse files
authored
chore(docs): inconsistent variable naming in example (#1441)
1 parent 6bcf62b commit 761d972

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/realtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ async def main():
5656
REALTIME_URL = "ws://localhost:4000/websocket"
5757
API_KEY = "1234567890"
5858

59-
socket = AsyncRealtimeClient(REALTIME_URL, API_KEY)
60-
channel = socket.channel("test-channel")
59+
client = AsyncRealtimeClient(REALTIME_URL, API_KEY)
60+
channel = client.channel("test-channel")
6161

6262
def _on_subscribe(status: RealtimeSubscribeStates, err: Optional[Exception]):
6363
if status == RealtimeSubscribeStates.SUBSCRIBED:

0 commit comments

Comments
 (0)