summaryrefslogtreecommitdiff
path: root/lib/api/files.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-06 23:50:08 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-01-07 00:31:11 +0800
commita6394540327cd3919e5189a35a21b57800a104fc (patch)
tree84e51a4b956ded88be710d33a63a8cc1276563bf /lib/api/files.rb
parentccc73c455ba0b95b531c69414a6a1f47667f16b5 (diff)
downloadgitlab-ce-a6394540327cd3919e5189a35a21b57800a104fc.tar.gz
Fix renaming
Diffstat (limited to 'lib/api/files.rb')
-rw-r--r--lib/api/files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/files.rb b/lib/api/files.rb
index 2e79e22e649..c58472de578 100644
--- a/lib/api/files.rb
+++ b/lib/api/files.rb
@@ -5,7 +5,7 @@ module API
def commit_params(attrs)
{
file_path: attrs[:file_path],
- source_branch: attrs[:branch_name],
+ start_branch: attrs[:branch_name],
target_branch: attrs[:branch_name],
commit_message: attrs[:commit_message],
file_content: attrs[:content],