summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-01-05 18:06:46 +0000
committerRémy Coutable <remy@rymai.me>2017-01-05 18:06:46 +0000
commit036cafa95ac40f463ddf037f0c2b28f859097cba (patch)
tree291e6daeaf8d82d82caf1cd76d7c653ae29059b1 /lib
parente394ad13f50fccc867a984feb3d9c7b7cd387dec (diff)
parent63fcf1373957115893fd635142a786aa816bb69a (diff)
downloadgitlab-ce-036cafa95ac40f463ddf037f0c2b28f859097cba.tar.gz
Merge branch '26261-post-api-v3-projects-idorproject-commits-commits-does-not-work-with-project-path' into 'master'
Fix Commits API to accept a Project path upon POST Closes #26261 See merge request !8406
Diffstat (limited to 'lib')
-rw-r--r--lib/api/commits.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb
index cf2489dbb67..e6d707f3c3d 100644
--- a/lib/api/commits.rb
+++ b/lib/api/commits.rb
@@ -44,7 +44,6 @@ module API
detail 'This feature was introduced in GitLab 8.13'
end
params do
- requires :id, type: Integer, desc: 'The project ID'
requires :branch_name, type: String, desc: 'The name of branch'
requires :commit_message, type: String, desc: 'Commit message'
requires :actions, type: Array[Hash], desc: 'Actions to perform in commit'