Skip to content

Commit eae2774

Browse files
Remove ended nightshade-preview
1 parent d404193 commit eae2774

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)