summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/branches/create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/branches/create.rb')
-rw-r--r--app/graphql/mutations/branches/create.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/graphql/mutations/branches/create.rb b/app/graphql/mutations/branches/create.rb
index 6354976f1ea..a94d3966258 100644
--- a/app/graphql/mutations/branches/create.rb
+++ b/app/graphql/mutations/branches/create.rb
@@ -30,8 +30,6 @@ module Mutations
def resolve(project_path:, name:, ref:)
project = authorized_find!(project_path)
- context.scoped_set!(:branch_project, project)
-
result = ::Branches::CreateService.new(project, current_user)
.execute(name, ref)