Merge pull request 'Retrive project ID from the correct location' (#1) from fix_project_id into master
Reviewed-on: Aurore/kanbot#1
This commit is contained in:
commit
95cabfb36d
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