mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
SyncServer - fill {site} placeholder
Modified namespace for gdrive
This commit is contained in:
parent
b5bf29b0f2
commit
2053bb7d6d
2 changed files with 3 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class GDriveHandler(AbstractProvider):
|
|||
EditableScopes.LOCAL],
|
||||
'label': "Credentials url",
|
||||
'type': 'text',
|
||||
'namespace': '{project_setting}/global/sync_server/sites/{site}/{platform}' # noqa: E501
|
||||
'namespace': '{project_settings}/global/sync_server/sites/{site}/credentials_url/{platform}' # noqa: E501
|
||||
},
|
||||
# roots could be override only on Project leve, User cannot
|
||||
'root': {'scope': [EditableScopes.PROJECT],
|
||||
|
|
|
|||
|
|
@ -573,6 +573,8 @@ class SyncServerModule(PypeModule, ITrayModule):
|
|||
st = "{}'s field value {} should be".format(key, val) # noqa: E501
|
||||
log.error(st + " multiplatform dict")
|
||||
|
||||
item["namespace"] = item["namespace"].replace('{site}',
|
||||
site_name)
|
||||
children = []
|
||||
if properties["type"] == "dict":
|
||||
if val:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue