From 27052cae27b447eff465f9c92ba5d017f00591ee Mon Sep 17 00:00:00 2001 From: Sebastian Rindom Date: Wed, 9 Sep 2020 15:23:58 +0200 Subject: [PATCH] fix: use correct auth type --- packages/medusa-plugin-brightpearl/src/utils/brightpearl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js b/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js index 05e904dc38..b8a4779c18 100644 --- a/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js +++ b/packages/medusa-plugin-brightpearl/src/utils/brightpearl.js @@ -85,7 +85,7 @@ class BrightpearlClient { const token = this.token_ if (token) { - request.headers["Authorization"] = `${authType} ${token}` + request.headers["Authorization"] = `Bearer ${token}` } return request