mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Fix class used returning pull request comments (#1307)
Repository.get_pull_request_comments() was returning the wrong type.
This commit is contained in:
committed by
Steve Kowalik
parent
2ad51f352e
commit
f8e33620f4
@@ -2317,7 +2317,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
|
||||
if since is not github.GithubObject.NotSet:
|
||||
url_parameters["since"] = since.strftime("%Y-%m-%dT%H:%M:%SZ")
|
||||
return github.PaginatedList.PaginatedList(
|
||||
github.IssueComment.IssueComment,
|
||||
github.PullRequestComment.PullRequestComment,
|
||||
self._requester,
|
||||
self.url + "/pulls/comments",
|
||||
url_parameters
|
||||
|
||||
Reference in New Issue
Block a user