Skip to content

Commit 809002e

Browse files
committed
Fix issue where milestones API did not accept "all".
See GitHub API reference https://developer.github.com/v3/issues/milestones/#parameters It is already documented that it is supported in Milestones#list https://github.com/peter-murach/github/blob/c71f4fb8f162e0d6bc12bc8ef0aa190f953ad65e/lib/github_api/client/issues/milestones.rb#L23
1 parent c71f4fb commit 809002e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/github_api/client/issues/milestones.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Github
44
class Client::Issues::Milestones < API
55

66
VALID_MILESTONE_OPTIONS = {
7-
'state' => %w[ open closed ],
7+
'state' => %w[ open closed all ],
88
'sort' => %w[ due_date completeness ],
99
'direction' => %w[ desc asc ]
1010
}.freeze # :nodoc:

0 commit comments

Comments
 (0)