Skip to content

Commit ff8e42b

Browse files
committed
Change owner to user for consistency
1 parent efbdc06 commit ff8e42b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@
503503
// ==========
504504

505505
Github.Issue = function(options) {
506-
var path = "/repos/" + options.owner + "/" + options.repo + "/issues";
506+
var path = "/repos/" + options.user + "/" + options.repo + "/issues";
507507

508508
this.list = function(options, cb) {
509509
_request("GET", path, options, function(err, res) {
@@ -515,8 +515,8 @@
515515
// Top Level API
516516
// -------
517517

518-
this.getIssues = function(owner, repo) {
519-
return new Github.Issue({owner: owner, repo: repo});
518+
this.getIssues = function(user, repo) {
519+
return new Github.Issue({user: user, repo: repo});
520520
};
521521

522522
this.getRepo = function(user, repo) {

0 commit comments

Comments
 (0)