summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-12 12:15:35 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-12 12:15:35 +0200
commit887494761ee41e8e647753e597fab534ed738058 (patch)
tree7861f2d6d59ac85c5669841b4d26e5ac788fdace /lib
parent914cfbd2f154ed3154a7dc3cee3309713eea786f (diff)
downloadgitlab-ce-887494761ee41e8e647753e597fab534ed738058.tar.gz
Fix commit status POST URL
Diffstat (limited to 'lib')
-rw-r--r--lib/api/commit_statuses.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/commit_statuses.rb b/lib/api/commit_statuses.rb
index cfe8739b175..41c05334296 100644
--- a/lib/api/commit_statuses.rb
+++ b/lib/api/commit_statuses.rb
@@ -41,7 +41,7 @@ module API
# description (optional) - A short description of the status
# name or context (optional) - A string label to differentiate this status from the status of other systems. Default: "default"
# Examples:
- # POST /projects/:id/repository/commits/:sha/status
+ # POST /projects/:id/statuses/:sha
post ':id/statuses/:sha' do
required_attributes! [:state]
attrs = attributes_for_keys [:ref, :target_url, :description, :context, :name]