mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add id to doc data
This commit is contained in:
parent
e60aa9e80d
commit
dc76e91f41
1 changed files with 3 additions and 0 deletions
|
|
@ -1061,6 +1061,9 @@ class AssetItem(BaseItem):
|
|||
"data": doc_data,
|
||||
"parent": self.project_id
|
||||
}
|
||||
if self.mongo_id:
|
||||
doc["_id"] = self.mongo_id
|
||||
|
||||
for key, value in self._data.items():
|
||||
if key in doc:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue