Skip to content

Commit

Permalink
Replace AccessToken with apitoken
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Sep 19, 2023
1 parent b7090a0 commit e48d1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/task/utils/getAzureDevOpsAccessToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function getAzureDevOpsAccessToken() {
let serviceConnectionName: string = getInput("azureDevOpsServiceConnection");
if (serviceConnectionName) {
debug("TFS connection supplied. A token shall be extracted from it.");
return getEndpointAuthorizationParameter(serviceConnectionName, "AccessToken", false);
return getEndpointAuthorizationParameter(serviceConnectionName, "apitoken", false);
}

debug("No custom token provided. The SystemVssConnection's AccessToken shall be used.");
Expand Down

0 comments on commit e48d1fb

Please sign in to comment.