diff --git a/github/AuthenticatedUser.py b/github/AuthenticatedUser.py index 9f9993d5..19dfe4e4 100644 --- a/github/AuthenticatedUser.py +++ b/github/AuthenticatedUser.py @@ -973,9 +973,11 @@ class AuthenticatedUser(github.GithubObject.CompletableGithubObject): params = dict() if all is not github.GithubObject.NotSet: - params["all"] = all + # convert True, False to true, false for api parameters + params["all"] = "true" if all else "false" if participating is not github.GithubObject.NotSet: - params["participating"] = participating + # convert True, False to true, false for api parameters + params["participating"] = "true" if participating else "false" if since is not github.GithubObject.NotSet: params["since"] = since.strftime("%Y-%m-%dT%H:%M:%SZ") if before is not github.GithubObject.NotSet: