chore: rebase from master

This commit is contained in:
JounQin 2020-07-15 21:55:04 +08:00 committed by GitHub
parent 1a53fb9a84
commit 95f1233ab9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,13 +43,11 @@ function parseBoolean(value) {
} }
} }
function request(data) { function request(data, headers) {
return axios({ return axios({
url: "https://api.github.com/graphql", url: "https://api.github.com/graphql",
method: "post", method: "post",
headers: { headers,
Authorization: `bearer ${process.env.GITHUB_TOKEN}`,
},
data, data,
}); });
} }