From aa138be80ba4e556c46237d9f4af1f692f53cc29 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Tue, 16 Mar 2021 09:58:23 +0100 Subject: [PATCH] Retrive project ID from the correct location --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 72013bb..f30d823 100755 --- a/bot.py +++ b/bot.py @@ -76,7 +76,7 @@ async def format_events(config, src, dest): logging.debug("Formatting message: %s", event) try: - project = event["event_data"]["project_id"] + project = event["event_data"]["task"]["project_id"] except KeyError: logging.warning("Missing project ID: %s", event) continue