summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/commits
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/commits')
-rw-r--r--app/graphql/mutations/commits/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/commits/create.rb b/app/graphql/mutations/commits/create.rb
index 00ec64becc8..02e1e4c78bf 100644
--- a/app/graphql/mutations/commits/create.rb
+++ b/app/graphql/mutations/commits/create.rb
@@ -58,7 +58,7 @@ module Mutations
commit_message: message,
branch_name: branch,
start_branch: args[:start_branch] || branch,
- actions: actions.map { |action| action.to_h }
+ actions: actions.map(&:to_h)
}
result = ::Files::MultiService.new(project, current_user, attributes).execute