mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-1978 - fix wrong site name used if resynchronizing
This commit is contained in:
parent
8a2d7fdbe7
commit
4d2bd5a881
2 changed files with 2 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ async def download(module, collection, file, representation, provider_name,
|
|||
True
|
||||
)
|
||||
|
||||
module.handle_alternate_site(collection, representation, remote_site_name,
|
||||
module.handle_alternate_site(collection, representation, local_site,
|
||||
file["_id"], file_id)
|
||||
|
||||
return file_id
|
||||
|
|
|
|||
|
|
@ -820,7 +820,7 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
alt_site, representation["_id"]))
|
||||
self._add_site(collection, query,
|
||||
[representation], elem,
|
||||
site_name, file_id=file_id, force=True)
|
||||
alt_site, file_id=file_id, force=True)
|
||||
""" End of Public API """
|
||||
|
||||
def get_local_file_path(self, collection, site_name, file_path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue