Skip to content

Commit 395ec25

Browse files
authored
Merge pull request #9 from ProcessMaker/bugfix/FOUR-7317
FOUR-7317:Javascrip API SDK authentication methods have different keys to what is expected in docker-executor-node
2 parents c837df5 + d6bfda1 commit 395ec25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Promise.all([getConfig, getData]).then(function(values) {
4040
let client = api.ApiClient.instance
4141
client.basePath = process.env.API_HOST
4242

43-
let auth = client.authentications['pm_api_bearer']
43+
let auth = client.authentications['bearer']
4444
auth.accessToken = process.env.API_TOKEN
4545
}
4646

0 commit comments

Comments
 (0)