fix: use correct auth type

This commit is contained in:
Sebastian Rindom
2020-09-09 15:24:05 +02:00
parent 9030ae4c36
commit 27052cae27
@@ -85,7 +85,7 @@ class BrightpearlClient {
const token = this.token_
if (token) {
request.headers["Authorization"] = `${authType} ${token}`
request.headers["Authorization"] = `Bearer ${token}`
}
return request