Showing
1 changed file
with
0 additions
and
2 deletions
@@ -98,13 +98,11 @@ const transform: AxiosTransform = { | @@ -98,13 +98,11 @@ const transform: AxiosTransform = { | ||
98 | if (withToken !== false) { | 98 | if (withToken !== false) { |
99 | const shareToken = getShareJwtToken(); | 99 | const shareToken = getShareJwtToken(); |
100 | if (withShareToken && shareToken) { | 100 | if (withShareToken && shareToken) { |
101 | - console.log({ withShareToken, shareToken }); | ||
102 | config.headers['X-Authorization'] = options.authenticationScheme | 101 | config.headers['X-Authorization'] = options.authenticationScheme |
103 | ? `${options.authenticationScheme} ${shareToken}` | 102 | ? `${options.authenticationScheme} ${shareToken}` |
104 | : shareToken; | 103 | : shareToken; |
105 | } else { | 104 | } else { |
106 | const token = getJwtToken(); | 105 | const token = getJwtToken(); |
107 | - console.log({ token }); | ||
108 | if (token) { | 106 | if (token) { |
109 | config.headers['X-Authorization'] = options.authenticationScheme | 107 | config.headers['X-Authorization'] = options.authenticationScheme |
110 | ? `${options.authenticationScheme} ${token}` | 108 | ? `${options.authenticationScheme} ${token}` |