add id to doc data

This commit is contained in:
iLLiCiTiT 2021-05-06 21:08:32 +02:00
parent e60aa9e80d
commit dc76e91f41

View file

@ -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