Updated PullRequest reviewer request according to API changes (#690)

https://developer.github.com/changes/2018-01-24-end-thor-preview/
This commit is contained in:
Gilad Shefer
2018-01-26 19:06:09 -08:00
committed by Jason White
parent 2f9b1e018a
commit 5c9c2f7523
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -538,7 +538,8 @@ class PullRequest(github.GithubObject.CompletableGithubObject):
self._requester,
self.url + "/requested_reviewers",
None,
headers={'Accept': 'application/vnd.github.black-cat-preview+json'}
headers={'Accept': 'application/vnd.github.black-cat-preview+json'},
list_item='users'
)
def is_merged(self):