mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Update getting-started.md
just noticed a small issue with the code listed
This commit is contained in:
@@ -50,7 +50,7 @@ Once you've got that setup, the simplest thing to experiment with is fetching de
|
||||
|
||||
```
|
||||
var user = await client.User.Get("shiftkey");
|
||||
Console.WriteLine("{0} has {1} public repositories - go check out their profile at {1}",
|
||||
Console.WriteLine("{0} has {1} public repositories - go check out their profile at {2}",
|
||||
user.Name,
|
||||
user.PublicRepos,
|
||||
user.Url);
|
||||
@@ -60,4 +60,4 @@ If you've authenticated as a given user, you can query their details directly:
|
||||
|
||||
```
|
||||
var user = await client.User.Current();
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user