mirror of
https://github.com/actions/setup-node.git
synced 2026-02-21 22:24:59 +08:00
fix: remove hardcoded bearer (#1467)
This commit is contained in:
@@ -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[]>(
|
||||
|
||||
Reference in New Issue
Block a user