diff --git a/README.md b/README.md index 3608d5b44..b72e5a858 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ broker.createService({ // Start broker broker.start() // Call service - .then(() => broker.call("math.add", { a: 5, b: 3 }) + .then(() => broker.call("math.add", { a: 5, b: 3 })) .then(res => console.log("5 + 3 =", res)) .catch(err => console.error(`Error occurred! ${err.message}`)); ```