Skip to content

Commit 8e99737

Browse files
authored
Merge pull request #850 from GrahamCampbell/nightshade-preview-ended
Remove ended nightshade-preview
2 parents d404193 + eae2774 commit 8e99737

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Github/Api/Repo.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -696,9 +696,6 @@ public function replaceTopics($username, $repository, array $topics)
696696
*/
697697
public function transfer($username, $repository, $newOwner, $teamId = [])
698698
{
699-
//This api is in preview mode, so set the correct accept-header
700-
$this->acceptHeaderValue = 'application/vnd.github.nightshade-preview+json';
701-
702699
return $this->post('/repos/'.rawurldecode($username).'/'.rawurldecode($repository).'/transfer', ['new_owner' => $newOwner, 'team_id' => $teamId]);
703700
}
704701
}

0 commit comments

Comments
 (0)