Retrive project ID from the correct location
This commit is contained in:
parent
c398980cdb
commit
aa138be80b
1 changed files with 1 additions and 1 deletions
2
bot.py
2
bot.py
|
@ -76,7 +76,7 @@ async def format_events(config, src, dest):
|
||||||
logging.debug("Formatting message: %s", event)
|
logging.debug("Formatting message: %s", event)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
project = event["event_data"]["project_id"]
|
project = event["event_data"]["task"]["project_id"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.warning("Missing project ID: %s", event)
|
logging.warning("Missing project ID: %s", event)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue