From 929883af9bd7d6bf22ec9a865f44c8388ac61626 Mon Sep 17 00:00:00 2001 From: Jake's Code Date: Fri, 1 Jan 2016 02:54:13 +0000 Subject: [PATCH] Clarified "_issuesClient" --- docs/issues.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.