Skip to content

Commit

Permalink
The Accept header should be set to json only, not raw and json
Browse files Browse the repository at this point in the history
  • Loading branch information
fpapadopou committed Nov 5, 2015
1 parent 744bff6 commit 4fa238b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private function curlGitRequest($url, $queryParams = '')
$this->curlRequest(
$requestUrl,
null,
['User-Agent: ' . $githubAppName, 'Accept: ' . 'application/vnd.github.v3.raw+json']
['User-Agent: ' . $githubAppName, 'Accept: application/vnd.github.v3.json']
), true);

return $jsonDecodedContent;
Expand Down

0 comments on commit 4fa238b

Please sign in to comment.