Skip to content

Commit

Permalink
Fix the subscription documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonsilva committed Nov 14, 2023
1 parent 4d8803d commit 6d9758a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ client.on :connect do
)

# Subscribe to events matching conditions of a filter
subscription = client.subscribe(filter)
subscription = client.subscribe(filter: filter)

# Unsubscribe from events matching the filter above
client.unsubscribe(subscription.id)
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ client.on :connect do
)

# Subscribe to events matching conditions of a filter
subscription = client.subscribe(filter)
subscription = client.subscribe(filter: filter)

# Unsubscribe from events matching the filter above
client.unsubscribe(subscription.id)
Expand Down

0 comments on commit 6d9758a

Please sign in to comment.