mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Add hero representation to published_representations
Without this SiteSync of hero versions wouldn't work
This commit is contained in:
parent
48bc2cea45
commit
242aa568f4
1 changed files with 4 additions and 0 deletions
|
|
@ -494,6 +494,10 @@ class IntegrateHeroVersion(
|
|||
):
|
||||
shutil.rmtree(backup_hero_publish_dir)
|
||||
|
||||
instance.data["published_representations"][repre_entity["id"]] = (
|
||||
repre_entity
|
||||
)
|
||||
|
||||
except Exception:
|
||||
if (
|
||||
backup_hero_publish_dir is not None and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue