Remove input data from axios call

This commit is contained in:
James M. Greene
2022-06-07 14:56:40 -05:00
parent 42f1735373
commit 1775467e63
3 changed files with 5 additions and 9 deletions

4
dist/index.js vendored
View File

@@ -8222,12 +8222,10 @@ async function getPageBaseUrl() {
const pagesEndpoint = `https://api.github.com/repos/${process.env.GITHUB_REPOSITORY}/pages`
const response = await axios.get(
pagesEndpoint,
{},
{
headers: {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
'Content-type': 'application/json'
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`
}
}
)

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -6,12 +6,10 @@ async function getPageBaseUrl() {
const pagesEndpoint = `https://api.github.com/repos/${process.env.GITHUB_REPOSITORY}/pages`
const response = await axios.get(
pagesEndpoint,
{},
{
headers: {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`,
'Content-type': 'application/json'
Authorization: `Bearer ${process.env.GITHUB_TOKEN}`
}
}
)