Skip to content

Commit 8bb42d3

Browse files
committed
Update README
1 parent 53f9d2e commit 8bb42d3

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
@@ -7,7 +7,7 @@ Example Usage:
77

88
``` csharp
99
var octopus = Require<OctopusClientPack>();
10-
var repo = octopus.GetRepository("http://server/octopusdeploy/api", "API-XXXXXXXXXXXXXXXXXXXXXXXXXXX");
10+
var repo = octopus.Initialise("http://server/octopusdeploy/api", "API-XXXXXXXXXXXXXXXXXXXXXXXXXXX");
1111
Console.WriteLine("Getting the current user...");
1212
var user = repo.Users.GetCurrent();
1313
Console.WriteLine("Current user: {0}", user.DisplayName);

0 commit comments

Comments
 (0)