Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorMark Fletcher <mark@gitlab.com>2017-01-03 04:14:31 +0300
committerMark Fletcher <mark@gitlab.com>2017-01-03 04:16:38 +0300
commit63fcf1373957115893fd635142a786aa816bb69a (patch)
treef93ec167f68bcddf222ed471939951707c015927 /lib/api
parentde25604fbca2f7005754d821d571bbcb1cc510ac (diff)
Fix Commits API to accept a Project path upon POST
Diffstat (limited to 'lib/api')
-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'