Show More
@@ -162,6 +162,7 b' def get_issues_list(project, auth=False, **params):' | |||||
162 | return pages |
|
162 | return pages | |
163 |
|
163 | |||
164 | def get_milestones(project, auth=False, **params): |
|
164 | def get_milestones(project, auth=False, **params): | |
|
165 | params.setdefault('state', 'all') | |||
165 | url = "https://api.github.com/repos/{project}/milestones".format(project=project) |
|
166 | url = "https://api.github.com/repos/{project}/milestones".format(project=project) | |
166 | if auth: |
|
167 | if auth: | |
167 | headers = make_auth_header() |
|
168 | headers = make_auth_header() |
General Comments 0
You need to be logged in to leave comments.
Login now