Skip to content

Commit c49ee47

Browse files
authored
docs: Update usage of stream commands (#178)
1 parent f258b6e commit c49ee47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ const [stream] = await client.xread(
5050
);
5151

5252
const msgFV = stream.messages[0].field_values;
53-
const plz = msgFV.get["yes"];
54-
const thx = msgFV.get["no"];
53+
const plz = msgFV["yes"];
54+
const thx = msgFV["no"];
5555
```
5656

5757
**Cluster**

0 commit comments

Comments
 (0)