diff --git a/docs/issues.md b/docs/issues.md index 1a73674a1c..8d94b479ba 100644 --- a/docs/issues.md +++ b/docs/issues.md @@ -75,8 +75,9 @@ var issues = await client.Issue.GetForRepository("octokit", "octokit.net", shoul At a minimum, you need to specify the title: ``` +var client = new GitHubClient(....); // More on GitHubClient can be found in "Getting Started" var createIssue = new NewIssue("this thing doesn't work"); -var issue = await _issuesClient.Create("octokit", "octokit.net", createIssue); +var issue = await client.Issue.Create("octokit", "octokit.net", createIssue); ``` `Create` returns a `Task` which represents the created issue.