Skip to content

Commit

Permalink
accept application/json as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Jun 5, 2017
1 parent 98620aa commit b6ae84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const now = (cmd='') => {
const githubApi = axios.create({
headers: {
Authorization: `token ${process.env.GITHUB_TOKEN}`,
Accept: 'application/vnd.github.ant-man-preview+json'
Accept: 'application/json, application/vnd.github.ant-man-preview+json'
}
});

Expand Down

0 comments on commit b6ae84c

Please sign in to comment.