Skip to content

Commit f12554a

Browse files
Removed shadow-cat
1 parent c17e729 commit f12554a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/Github/Api/PullRequest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ public function create($username, $repository, array $params)
156156
throw new MissingArgumentException(['issue', 'body']);
157157
}
158158

159-
if (isset($params['draft']) && $params['draft'] === true) {
160-
//This feature is in preview mode, so set the correct accept-header
161-
$this->acceptHeaderValue = 'application/vnd.github.shadow-cat-preview+json';
162-
}
163-
164159
return $this->post('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/pulls', $params);
165160
}
166161

0 commit comments

Comments
 (0)