Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
Fix issue where forking to an organization would not work.
Browse files Browse the repository at this point in the history
The issue is that the github library uses "organization" and not "org".
  • Loading branch information
tomzx committed Feb 15, 2015
1 parent 65dcf84 commit 44fb0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmds/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ Repo.prototype.fork = function(opt_callback) {
};

if (options.organization) {
payload.org = options.organization;
payload.organization = options.organization;
}

base.github.repos.fork(payload, opt_callback);
Expand Down

0 comments on commit 44fb0fa

Please sign in to comment.