diff --git a/src/main/java/MongoToMinioPorting.java b/src/main/java/MongoToMinioPorting.java index 8c96be6..49ac851 100644 --- a/src/main/java/MongoToMinioPorting.java +++ b/src/main/java/MongoToMinioPorting.java @@ -102,6 +102,8 @@ public class MongoToMinioPorting implements AbstractScript{ Content content = ((AbstractFileItem) item).getContent(); content.setPayloadBackend(info.getPayloadBackend()); + content.setStorageId(info.getStorageId()); + Node contentNode = ((Node) item.getRelatedNode()).getNode(NodeConstants.CONTENT_NAME); boolean canBeDeleted = true;