mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix user registration on actions
This commit is contained in:
parent
d40d504489
commit
4f90a4984a
1 changed files with 3 additions and 1 deletions
|
|
@ -343,7 +343,9 @@ class BaseAction(object):
|
|||
def register(self):
|
||||
'''Registers the action, subscribing the the discover and launch topics.'''
|
||||
self.session.event_hub.subscribe(
|
||||
'topic=ftrack.action.discover', self._discover
|
||||
'topic=ftrack.action.discover and source.user.username={0}'.format(
|
||||
self.session.api_user
|
||||
), self._discover
|
||||
)
|
||||
|
||||
self.session.event_hub.subscribe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue