fix get_user_issues (#1842)

AuthenticatedUser.get_user_issues() calls the wrong API endpoint.

Fixes #1841
This commit is contained in:
Yuya Nakamura
2021-03-05 15:27:34 +11:00
committed by GitHub
parent 290b62726f
commit 7db1b0c924
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -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