File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54246,7 +54246,7 @@ class BaseDistribution {
5424654246 const dataUrl = `${initialUrl}/index.json`;
5424754247 const headers = {};
5424854248 if (this.nodeInfo.mirrorToken) {
54249- headers['Authorization'] = `Bearer ${ this.nodeInfo.mirrorToken}` ;
54249+ headers['Authorization'] = this.nodeInfo.mirrorToken;
5425054250 }
5425154251 const response = await this.httpClient.getJson(dataUrl, headers);
5425254252 return response.result || [];
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default abstract class BaseDistribution {
103103 const headers = { } ;
104104
105105 if ( this . nodeInfo . mirrorToken ) {
106- headers [ 'Authorization' ] = `Bearer ${ this . nodeInfo . mirrorToken } ` ;
106+ headers [ 'Authorization' ] = this . nodeInfo . mirrorToken ;
107107 }
108108
109109 const response = await this . httpClient . getJson < INodeVersion [ ] > (
You can’t perform that action at this time.
0 commit comments