diff --git a/Octokit/Models/Request/BranchUpdate.cs b/Octokit/Models/Request/BranchUpdate.cs index 3a93dbac81..47196b69f1 100644 --- a/Octokit/Models/Request/BranchUpdate.cs +++ b/Octokit/Models/Request/BranchUpdate.cs @@ -14,12 +14,7 @@ public class BranchUpdate /// /// The details /// - public BranchProtection Protection { get; private set; } - - public BranchUpdate() - { - Protection = new BranchProtection(); - } + public BranchProtection Protection { get; set; } internal string DebuggerDisplay {