mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2026-02-04 16:45:52 +08:00
Fix Header Name for Bearer Authorization
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -2623,7 +2623,7 @@ if (!!core.getInput('username') || !!core.getInput('password')) {
|
||||
}
|
||||
|
||||
if (!!core.getInput('bearerToken')) {
|
||||
headers['Authentication'] = `Bearer ${core.getInput('bearerToken')}`;
|
||||
headers['Authorization'] = `Bearer ${core.getInput('bearerToken')}`;
|
||||
}
|
||||
|
||||
const instanceConfig = {
|
||||
|
||||
Reference in New Issue
Block a user