From 7e30841a541f274e4dec97d4f03148c75accb6f3 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 15 Aug 2019 19:16:08 +0200 Subject: [PATCH] fixing issue with creating event in where_run_ask action --- pype/ftrack/actions/action_where_run_ask.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pype/ftrack/actions/action_where_run_ask.py b/pype/ftrack/actions/action_where_run_ask.py index 95bbf1fdd7..7b5a01421b 100644 --- a/pype/ftrack/actions/action_where_run_ask.py +++ b/pype/ftrack/actions/action_where_run_ask.py @@ -36,9 +36,7 @@ class ActionAskWhereIRun(BaseAction): selection=event["data"]["selection"], event_hub_id=session.event_hub.id ), - source=dict( - user=dict(username=session.api_user) - ) + source=dict(user=event['source']['user']) ) session.event_hub.publish(event, on_error='ignore')