diff --git a/README.md b/README.md index 086a2f9b..51db6383 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,12 @@ dataManager.setToken(accessToken); dataManager.dataManagerList() .then(list => doSomthingWith(list)) -.catch(console.log); +.catch(console.error); + +const accounts = new Accounts(); // This uses 'live' environment +accounts.me() // This has token from 'dataManager' +.then(me => show(me)) +.catch(console.error) ``` ##### Node @@ -57,7 +62,6 @@ dataManager.dataManagerList() > This is not officially supported. Mainly exists for usage in jsfiddles or similar. ```html -