Skip to content

Commit bd85dd9

Browse files
authored
Update git-database.md (#2247)
1 parent 6a0d404 commit bd85dd9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/git-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ var tag = new NewTag {
1717
Date = DateTime.UtcNow
1818
}
1919
};
20-
var result = await client.Git.Tags.Create("octokit", "octokit.net", tag);
20+
var result = await client.Git.Tag.Create("octokit", "octokit.net", tag);
2121
Console.WriteLine("Created a tag for {0} at {1}", result.Tag, result.Sha);
2222
```
2323

2424
Or you can fetch an existing tag from the API:
2525

2626
```csharp
27-
var tag = await client.Git.Tags.Get("octokit", "octokit.net", "v1.0.0");
27+
var tag = await client.Git.Tag.Get("octokit", "octokit.net", "v1.0.0");
2828
```

0 commit comments

Comments
 (0)