diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-06 12:32:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-06 12:32:05 +0300 |
commit | 963f475daf95a0e19acd2f2b093033fc983abfaf (patch) | |
tree | 249f63c5c183756854542012e54fd41b71d8259d | |
parent | a4e671dc31dd2b2775bd52304f0c772eaac451bc (diff) | |
download | gitlab-ce-963f475daf95a0e19acd2f2b093033fc983abfaf.tar.gz |
Fix milestone api docs: invalid param for close
-rw-r--r-- | doc/api/milestones.md | 2 | ||||
-rw-r--r-- | lib/api/milestones.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md index 92a29cee954..aa8f1bf5e02 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -56,5 +56,5 @@ Parameters: + `title` (optional) - The title of a milestone + `description` (optional) - The description of a milestone + `due_date` (optional) - The due date of the milestone -+ `closed` (optional) - The status of the milestone ++ `state_event` (optional) - The state event of the milestone (close|activate) diff --git a/lib/api/milestones.rb b/lib/api/milestones.rb index a25bbad1302..aee12e7dc40 100644 --- a/lib/api/milestones.rb +++ b/lib/api/milestones.rb @@ -60,7 +60,7 @@ module API # title (optional) - The title of a milestone # description (optional) - The description of a milestone # due_date (optional) - The due date of a milestone - # state (optional) - The status of the milestone (close|activate) + # state_event (optional) - The state event of the milestone (close|activate) # Example Request: # PUT /projects/:id/milestones/:milestone_id put ":id/milestones/:milestone_id" do |