mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fixing issue with creating event in where_run_ask action
This commit is contained in:
parent
3a74d5dfbb
commit
7e30841a54
1 changed files with 1 additions and 3 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue