diff --git a/Octokit.Reactive/Clients/IObservableRepositoryBranchesClient.cs b/Octokit.Reactive/Clients/IObservableRepositoryBranchesClient.cs index 8b960ec3..dbf2452d 100644 --- a/Octokit.Reactive/Clients/IObservableRepositoryBranchesClient.cs +++ b/Octokit.Reactive/Clients/IObservableRepositoryBranchesClient.cs @@ -133,6 +133,7 @@ namespace Octokit.Reactive /// See the API documentation for more details /// /// The Id of the repository + /// The name of the branch /// Branch protection settings IObservable UpdateBranchProtection(int repositoryId, string branch, BranchProtectionSettingsUpdate update); diff --git a/Octokit.Reactive/Clients/ObservableRepositoryBranchesClient.cs b/Octokit.Reactive/Clients/ObservableRepositoryBranchesClient.cs index 7aec5e28..eb200bdb 100644 --- a/Octokit.Reactive/Clients/ObservableRepositoryBranchesClient.cs +++ b/Octokit.Reactive/Clients/ObservableRepositoryBranchesClient.cs @@ -208,6 +208,7 @@ namespace Octokit.Reactive /// See the API documentation for more details /// /// The Id of the repository + /// The name of the branch /// Branch protection settings public IObservable UpdateBranchProtection(int repositoryId, string branch, BranchProtectionSettingsUpdate update) { diff --git a/Octokit/Clients/IRepositoryBranchesClient.cs b/Octokit/Clients/IRepositoryBranchesClient.cs index 5ec0111d..1e4fff9e 100644 --- a/Octokit/Clients/IRepositoryBranchesClient.cs +++ b/Octokit/Clients/IRepositoryBranchesClient.cs @@ -138,6 +138,7 @@ namespace Octokit /// See the API documentation for more details /// /// The Id of the repository + /// The name of the branch /// Branch protection settings Task UpdateBranchProtection(int repositoryId, string branch, BranchProtectionSettingsUpdate update); diff --git a/Octokit/Clients/RepositoryBranchesClient.cs b/Octokit/Clients/RepositoryBranchesClient.cs index a84cd397..799273b8 100644 --- a/Octokit/Clients/RepositoryBranchesClient.cs +++ b/Octokit/Clients/RepositoryBranchesClient.cs @@ -210,6 +210,7 @@ namespace Octokit /// See the API documentation for more details /// /// The Id of the repository + /// The name of the branch /// Branch protection settings public Task UpdateBranchProtection(int repositoryId, string branch, BranchProtectionSettingsUpdate update) { diff --git a/Octokit/Helpers/ApiUrls.cs b/Octokit/Helpers/ApiUrls.cs index 817f4204..aa8a98fa 100644 --- a/Octokit/Helpers/ApiUrls.cs +++ b/Octokit/Helpers/ApiUrls.cs @@ -1639,8 +1639,7 @@ namespace Octokit /// /// Returns the for a repository branches protection. /// - /// The owner of the repository - /// The name of the repository + /// The Id of the repository /// The name of the branch /// public static Uri RepoBranchProtection(int repositoryId, string branchName)