Skip to content

Commit

Permalink
feat(action): fixed headers
Browse files Browse the repository at this point in the history
Refs: add-support-for-contrast-results
  • Loading branch information
JesusCotlamee committed May 24, 2024
1 parent 91fff72 commit 7021965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47461,9 +47461,8 @@ async function retrieveContrastResults(contrastInputs) {
return axios_1.default
.post(url, null, {
headers: {
contentType: "application/json",
Authorization: token,
APIKey: apiKey,
'API-Key': apiKey,
Accept: 'application/x-zip-compressed'
},
responseType: 'arraybuffer',
Expand Down
3 changes: 1 addition & 2 deletions src/contrast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ export async function retrieveContrastResults(
return axios
.post(url, null,{
headers: {
contentType: "application/json",
Authorization: token,
APIKey: apiKey,
'API-Key': apiKey,
Accept: 'application/x-zip-compressed'
},
responseType: 'arraybuffer',
Expand Down

0 comments on commit 7021965

Please sign in to comment.