mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-04-22 10:42:08 +00:00
chore: rebase from master
This commit is contained in:
parent
1a53fb9a84
commit
95f1233ab9
@ -43,13 +43,11 @@ function parseBoolean(value) {
|
||||
}
|
||||
}
|
||||
|
||||
function request(data) {
|
||||
function request(data, headers) {
|
||||
return axios({
|
||||
url: "https://api.github.com/graphql",
|
||||
method: "post",
|
||||
headers: {
|
||||
Authorization: `bearer ${process.env.GITHUB_TOKEN}`,
|
||||
},
|
||||
headers,
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user