Fix Header Name for Bearer Authorization

This commit is contained in:
Frank
2020-05-06 20:43:17 +02:00
parent f7cd714b2c
commit 089a11111a
3 changed files with 3 additions and 3 deletions

View File

@@ -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 = {