Skip to content

Commit 5b83ac2

Browse files
pagangildamccorm
authored andcommitted
Correcting sample code to remove undefined 'vsts' (#240)
In the sample code, one instance of `vsts` was missed to be changed to `azdev` and thus the sample code would fail. Changing the usage to `azdev`
1 parent bb58202 commit 5b83ac2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let orgUrl = "https://dev.azure.com/yourorgname";
3434
// ideally from config
3535
let token: string = "cbdeb34vzyuk5l4gxc4qfczn3lko3avfkfqyb47etahq6axpcqha";
3636

37-
let authHandler = vsts.getPersonalAccessTokenHandler(token);
37+
let authHandler = azdev.getPersonalAccessTokenHandler(token);
3838
let connection = new azdev.WebApi(orgUrl, authHandler);
3939
```
4040

0 commit comments

Comments
 (0)