Calling authorize second time always fails when application credentials are used
phil-r opened this issue · 2 comments
phil-r commented
Calling authorize second time fails when application credentials are used, because b2.accountId
gets re-written with actual accountId.
Related to #64
phil-r commented
I've submitted a patch for it: #67
Meanwhile you can use npm i @phil-r/backblaze-b2
with
const b2 = new B2({
applicationKeyId: 'applicationKeyId', // instead of accountId
applicationKey: 'applicationKey'
})
davidsonsns commented
waiting for @yakovkhalinsky about your pull @phil-r. Tks