chore: rebase from master
This commit is contained in:
parent
1a53fb9a84
commit
95f1233ab9
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue