mirror of
https://github.com/actions/setup-node.git
synced 2026-10-01 01:11:33 +00:00
fix: remove hardcoded bearer (#1467)
This commit is contained in:
1 parent
d02c89dce7
commit
efcb663fc6
3 files changed
+3
-3
No files matched your search
@@ -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