Skip to content

Commit

Permalink
Fix code example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Dec 8, 2022
1 parent 67ee84a commit d206f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const client = new FKClient("http://127.0.0.1:6749")
// Subscribe to the message types you wish to handle
client.addInMessageListener(
// Filter function
msg => "boards" === message.what.request,
msg => "boards" === msg.what.request,
// Handler
msg => console.log("Received a reply message regarding some boards:", message.data)
msg => console.log("Received a reply message regarding some boards:", msg.data)
)

// Make your requests
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bakaso/fkclient",
"version": "1.4.0",
"version": "1.4.1",
"description": "A wrapper library for Foxtan API.",
"keywords": [
"foxtan",
Expand Down

0 comments on commit d206f24

Please sign in to comment.