1
0
mirror of https://github.com/actions/setup-node.git synced 2026-03-01 19:55:07 +08:00

fix: remove hardcoded bearer (#1467)

This commit is contained in:
Marco Ippolito
2026-02-19 13:58:14 -04:00
committed by GitHub
parent d02c89dce7
commit efcb663fc6
3 changed files with 3 additions and 3 deletions

View File

@@ -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[]>(