From d1af986d4e9ed8a932c0a85803157e06cc8fac63 Mon Sep 17 00:00:00 2001 From: Parag Gangil <31500022+pagangil@users.noreply.github.com> Date: Thu, 4 Oct 2018 11:32:44 +0530 Subject: [PATCH] Correcting sample code to remove undefined 'vsts' 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` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 087ea2a5..80be6c40 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ let orgUrl = "https://dev.azure.com/yourorgname"; // ideally from config let token: string = "cbdeb34vzyuk5l4gxc4qfczn3lko3avfkfqyb47etahq6axpcqha"; -let authHandler = vsts.getPersonalAccessTokenHandler(token); +let authHandler = azdev.getPersonalAccessTokenHandler(token); let connection = new azdev.WebApi(orgUrl, authHandler); ```