mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-07-26 14:19:50 +00:00
chore: rebase from master
This commit is contained in:
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user