Skip to content

Commit

Permalink
Merge pull request #167 from ctobolski/minor-readme-fix
Browse files Browse the repository at this point in the history
Minor readme fix
  • Loading branch information
peter-murray authored Feb 13, 2020
2 parents b0dd24c + 0d0d010 commit c7e95a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $ npm install node-hue-api

Node.js using yarn:
```
$ yarn install node-hue-api
$ yarn add node-hue-api
```

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

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

} catch(err) {
Expand Down

0 comments on commit c7e95a6

Please sign in to comment.