Skip to content

Commit c7e95a6

Browse files
authored
Merge pull request #167 from ctobolski/minor-readme-fix
Minor readme fix
2 parents b0dd24c + 0d0d010 commit c7e95a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ $ npm install node-hue-api
6969

7070
Node.js using yarn:
7171
```
72-
$ yarn install node-hue-api
72+
$ yarn add node-hue-api
7373
```
7474

7575
## v3 API
@@ -268,7 +268,7 @@ async function discoverAndCreateUser() {
268268
const authenticatedApi = await hueApi.createLocal(ipAddress).connect(createdUser.username);
269269

270270
// Do something with the authenticated user/api
271-
const bridgeConfig = await authenticatedApi.configuration.get();
271+
const bridgeConfig = await authenticatedApi.configuration.getConfiguration();
272272
console.log(`Connected to Hue Bridge: ${bridgeConfig.name} :: ${bridgeConfig.ipaddress}`);
273273

274274
} catch(err) {

0 commit comments

Comments
 (0)