fix: remove hardcoded bearer (#1467)
This commit is contained in:
parent
d02c89dce7
commit
efcb663fc6
3 changed files with 3 additions and 3 deletions
|
|
@ -103,7 +103,7 @@ export default abstract class BaseDistribution {
|
|||
const headers = {};
|
||||
|
||||
if (this.nodeInfo.mirrorToken) {
|
||||
headers['Authorization'] = `Bearer ${this.nodeInfo.mirrorToken}`;
|
||||
headers['Authorization'] = this.nodeInfo.mirrorToken;
|
||||
}
|
||||
|
||||
const response = await this.httpClient.getJson<INodeVersion[]>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue