Skip to content

Commit 609491e

Browse files
marco4netclayreimann
authored andcommitted
docs: Update documentation to include 2.0.0 breaking changes (github-tools#371)
ci skip
1 parent 83775a1 commit 609491e

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
@@ -88,7 +88,7 @@ me.listNotifications(function(err, notifcations) {
8888
});
8989

9090
const clayreimann = gh.getUser('clayreimann');
91-
clayreimann.getStarredRepos()
91+
clayreimann.listStarredRepos()
9292
.then(function({data: reposJson}) {
9393
// do stuff with reposJson
9494
});
@@ -103,7 +103,7 @@ var gh = new GitHub({
103103
});
104104

105105
var yahoo = gh.getOrganization('yahoo');
106-
yahoo.getRepos(function(err, repos) {
106+
yahoo.listRepos(function(err, repos) {
107107
// look at all the repos!
108108
})
109109
```

0 commit comments

Comments
 (0)