Skip to content

Commit

Permalink
Remove ended nightshade-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Feb 15, 2020
1 parent d404193 commit eae2774
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Github/Api/Repo.php
Expand Up @@ -696,9 +696,6 @@ public function replaceTopics($username, $repository, array $topics)
*/
public function transfer($username, $repository, $newOwner, $teamId = [])
{
//This api is in preview mode, so set the correct accept-header
$this->acceptHeaderValue = 'application/vnd.github.nightshade-preview+json';

return $this->post('/repos/'.rawurldecode($username).'/'.rawurldecode($repository).'/transfer', ['new_owner' => $newOwner, 'team_id' => $teamId]);
}
}

0 comments on commit eae2774

Please sign in to comment.