From eae2774ff24b931ba55c445d5fccf8e4dfa55a70 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sat, 15 Feb 2020 16:08:51 +0000 Subject: [PATCH] Remove ended nightshade-preview --- lib/Github/Api/Repo.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index e9eaf44c781..a626594ade3 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -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]); } }