mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
OP-4181 - clean up after review comments - missed line
This commit is contained in:
parent
e0f46635f5
commit
f6f5e77f3c
1 changed files with 1 additions and 2 deletions
|
|
@ -443,8 +443,7 @@ class IntegrateHeroVersion(pyblish.api.InstancePlugin):
|
|||
archived_repre["_id"],
|
||||
changes)
|
||||
else:
|
||||
repre["old_id"] = repre["_id"]
|
||||
repre["_id"] = _create_or_convert_to_mongo_id(None)
|
||||
repre["old_id"] = repre.pop("_id")
|
||||
repre["type"] = "archived_representation"
|
||||
op_session.create_entity(project_name, "representation",
|
||||
repre)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue