diff --git a/site/source/docs/using_the_console.md b/site/source/docs/using_the_console.md index fd54105fc..1fe1e4b45 100644 --- a/site/source/docs/using_the_console.md +++ b/site/source/docs/using_the_console.md @@ -69,7 +69,7 @@ This applies to synchronous as well as asynchronous APIs, which is very common w In both the dashboard's console and the standalone console, you can use `await` for `Promise`-based calls: ``` -Embark (development) > await SimpleStorage.method.get().call() +Embark (development) > await SimpleStorage.methods.get().call() ``` This works with other objects as well. The following example outputs available accounts emitted by the `web3` object: