fix: use correct auth type

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