Skip to content

Commit

Permalink
Merge pull request #850 from GrahamCampbell/nightshade-preview-ended
Browse files Browse the repository at this point in the history
Remove ended nightshade-preview
  • Loading branch information
acrobat committed Feb 15, 2020
2 parents d404193 + eae2774 commit 8e99737
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 8e99737

Please sign in to comment.