mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2026-02-05 00:55:52 +08:00
Fix Header Name for Bearer Authorization
This commit is contained in:
@@ -27,7 +27,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