diff --git a/projects/gh-unnotifier/src/python/ghunnotif/__main__.py b/projects/gh-unnotifier/src/python/ghunnotif/__main__.py index 09254ac..2cc1e2a 100644 --- a/projects/gh-unnotifier/src/python/ghunnotif/__main__.py +++ b/projects/gh-unnotifier/src/python/ghunnotif/__main__.py @@ -232,7 +232,7 @@ def maintain(config_path: Path, schedule: timedelta): ): _resolve(notif, "Unengaged issue closed") - if user["author"]["login"] in author_shitlist: + if issue["user"]["login"] in author_shitlist: _resolve(notif, "Ignoring issue by author") while True: