Skip to content

Commit

Permalink
Fix .notify() usage in README sample code
Browse files Browse the repository at this point in the history
Fixes #35.
  • Loading branch information
andywer authored Feb 22, 2020
1 parent 58e45b2 commit 1ec1e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function connect () {
}

export async function sendSampleMessage () {
await subscriber.notify({
await subscriber.notify("my-channel", {
greeting: "Hey, buddy.",
timestamp: Date.now()
})
Expand Down

0 comments on commit 1ec1e21

Please sign in to comment.