Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
IonicaBizau committed Aug 18, 2020
1 parent e346ad5 commit b36c41f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ yarn add codementor
```js
const CodeMentor = require("codementor");

CodeMentor.mentorProfile("johnnyb", (err, data) => {
CodeMentor.mentorProfile("johnnyb", (err, { data }) => {
console.log(JSON.stringify(data, null, 4));
// =>
// {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
"example": "example"
},
"devDependencies": {}
}
}

0 comments on commit b36c41f

Please sign in to comment.