diff --git a/eessi_bot_event_handler.py b/eessi_bot_event_handler.py index 3d6dc6d..3f9a8e1 100644 --- a/eessi_bot_event_handler.py +++ b/eessi_bot_event_handler.py @@ -638,7 +638,7 @@ def handle_pull_request_closed_event(self, event_info, pr): # 2) Get trash_bin_dir from configs trash_bin_root_dir = self.cfg[config.SECTION_MERGED_PR][config.MERGED_PR_SETTING_TRASH_BIN_ROOT_DIR] - repo_name = event_info['repository']['full_name'] + repo_name = request_body['repository']['full_name'] dt = datetime.now(timezone.utc) trash_bin_dir = "/".join([trash_bin_root_dir, repo_name, dt.strftime('%Y%m%d')])