From 2a499c2d0feffb1eb1f75ec7b985af63f7da5367 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Tue, 3 Oct 2023 14:39:58 -0600 Subject: [PATCH] Fix where we pull the login name from --- projects/gh-unnotifier/src/python/ghunnotif/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: