From f12554a3dced7695e1ee516f94c7eb94a2df771e Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 2 Jul 2020 00:04:26 +0100 Subject: [PATCH] Removed shadow-cat --- lib/Github/Api/PullRequest.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Github/Api/PullRequest.php b/lib/Github/Api/PullRequest.php index a92e71b186c..fbb763dc5bf 100644 --- a/lib/Github/Api/PullRequest.php +++ b/lib/Github/Api/PullRequest.php @@ -156,11 +156,6 @@ public function create($username, $repository, array $params) throw new MissingArgumentException(['issue', 'body']); } - if (isset($params['draft']) && $params['draft'] === true) { - //This feature is in preview mode, so set the correct accept-header - $this->acceptHeaderValue = 'application/vnd.github.shadow-cat-preview+json'; - } - return $this->post('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls', $params); }