summaryrefslogtreecommitdiff
path: root/lib/api/commits.rb
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-01-03 01:14:31 +0000
committerMark Fletcher <mark@gitlab.com>2017-01-03 01:16:38 +0000
commit63fcf1373957115893fd635142a786aa816bb69a (patch)
treef93ec167f68bcddf222ed471939951707c015927 /lib/api/commits.rb
parentde25604fbca2f7005754d821d571bbcb1cc510ac (diff)
downloadgitlab-ce-63fcf1373957115893fd635142a786aa816bb69a.tar.gz
Fix Commits API to accept a Project path upon POST
Diffstat (limited to 'lib/api/commits.rb')
-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'