diff --git a/docs/issues.md b/docs/issues.md index eb867b0caf..b1286b3a77 100644 --- a/docs/issues.md +++ b/docs/issues.md @@ -23,7 +23,7 @@ var issues = await client.Issue.GetAllForOwnedAndMemberRepositories(); If you know the specific repository, just invoke that: ``` -var issuesForOctokit = await client.Issue.GetForRepository("octokit", "octokit.net"); +var issuesForOctokit = await client.Issue.GetAllForRepository("octokit", "octokit.net"); ``` ### Filtering @@ -67,7 +67,7 @@ var shouldPrioritize = new RepositoryIssueRequest Milestone = "none", Filter = IssueFilter.All }; -var issues = await client.Issue.GetForRepository("octokit", "octokit.net", shouldPrioritize); +var issues = await client.Issue.GetAllForRepository("octokit", "octokit.net", shouldPrioritize); ``` ### Create