Skip to content

Commit

Permalink
Fix PyGithub#1671 Review Resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
sshekdar-VMware committed Jul 22, 2021
1 parent d7f1193 commit 2760bbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/AuthenticatedUser.py
Expand Up @@ -974,10 +974,10 @@ def get_notifications(
params = dict()
if all is not github.GithubObject.NotSet:
# convert True, False to true, false for api parameters
params["all"] = str(all).lower() if isinstance(all, bool) else all
params["all"] = "true" if all else "false"
if participating is not github.GithubObject.NotSet:
# convert True, False to true, false for api parameters
params["participating"] = str(participating).lower() if isinstance(participating, bool) else participating
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:
Expand Down

0 comments on commit 2760bbb

Please sign in to comment.