mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
fix get_user_issues (#1842)
AuthenticatedUser.get_user_issues() calls the wrong API endpoint. Fixes #1841
This commit is contained in:
@@ -906,7 +906,7 @@ class AuthenticatedUser(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.Issue.Issue, self._requester, "/issues", url_parameters
|
||||
github.Issue.Issue, self._requester, "/user/issues", url_parameters
|
||||
)
|
||||
|
||||
def get_key(self, id):
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user