diff --git a/docs/git-database.md b/docs/git-database.md index 3a3a666c60..e135b139bb 100644 --- a/docs/git-database.md +++ b/docs/git-database.md @@ -17,12 +17,12 @@ var tag = new NewTag { Date = DateTime.UtcNow } }; -var result = await client.Git.Tags.Create("octokit", "octokit.net", tag); +var result = await client.Git.Tag.Create("octokit", "octokit.net", tag); Console.WriteLine("Created a tag for {0} at {1}", result.Tag, result.Sha); ``` Or you can fetch an existing tag from the API: ```csharp -var tag = await client.Git.Tags.Get("octokit", "octokit.net", "v1.0.0"); +var tag = await client.Git.Tag.Get("octokit", "octokit.net", "v1.0.0"); ```