Skip to content

Commit

Permalink
Actually pass :repositories over to the migration API
Browse files Browse the repository at this point in the history
(>ლ)
  • Loading branch information
gjtorikian committed Dec 5, 2015
1 parent a2b1217 commit 8084517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/octokit/client/organizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ def remove_organization_membership(org, options = {})
# @see https://developer.github.com/v3/orgs/migrations/#start-a-migration
def start_migration(org, repositories, options = {})
options = ensure_api_media_type(:migrations, options)
options[:repositories] = repositories
post "orgs/#{org}/migrations", options
end

Expand Down
Loading

0 comments on commit 8084517

Please sign in to comment.