diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-01-06 18:50:08 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-01-06 19:31:11 +0300 |
commit | a6394540327cd3919e5189a35a21b57800a104fc (patch) | |
tree | 84e51a4b956ded88be710d33a63a8cc1276563bf /lib/api/commits.rb | |
parent | ccc73c455ba0b95b531c69414a6a1f47667f16b5 (diff) |
Fix renaming
Diffstat (limited to 'lib/api/commits.rb')
-rw-r--r-- | lib/api/commits.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb index 2c1da0902c9..031759cdcdf 100644 --- a/lib/api/commits.rb +++ b/lib/api/commits.rb @@ -55,7 +55,7 @@ module API authorize! :push_code, user_project attrs = declared_params - attrs[:source_branch] = attrs[:branch_name] + attrs[:start_branch] = attrs[:branch_name] attrs[:target_branch] = attrs[:branch_name] attrs[:actions].map! do |action| action[:action] = action[:action].to_sym |