Commit 963f475daf95a0e19acd2f2b093033fc983abfaf
1 parent
a4e671dc
Exists in
master
and in
4 other branches
Fix milestone api docs: invalid param for close
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
doc/api/milestones.md
... | ... | @@ -56,5 +56,5 @@ Parameters: |
56 | 56 | + `title` (optional) - The title of a milestone |
57 | 57 | + `description` (optional) - The description of a milestone |
58 | 58 | + `due_date` (optional) - The due date of the milestone |
59 | -+ `closed` (optional) - The status of the milestone | |
59 | ++ `state_event` (optional) - The state event of the milestone (close|activate) | |
60 | 60 | ... | ... |
lib/api/milestones.rb
... | ... | @@ -60,7 +60,7 @@ module API |
60 | 60 | # title (optional) - The title of a milestone |
61 | 61 | # description (optional) - The description of a milestone |
62 | 62 | # due_date (optional) - The due date of a milestone |
63 | - # state (optional) - The status of the milestone (close|activate) | |
63 | + # state_event (optional) - The state event of the milestone (close|activate) | |
64 | 64 | # Example Request: |
65 | 65 | # PUT /projects/:id/milestones/:milestone_id |
66 | 66 | put ":id/milestones/:milestone_id" do | ... | ... |