strapi-plugin-bulk-updater 1.5.10 → 1.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5611,14 +5611,8 @@ function buildDeepPopulate(attributes, allComponents, depth = 0) {
5611
5611
  }
5612
5612
  } else if (def.type === "dynamiczone") {
5613
5613
  populate[key] = true;
5614
- } else if (def.type === "relation") {
5615
- populate[key] = {
5616
- fields: ["documentId", "name", "title", "slug", "username", "email"]
5617
- };
5618
- } else if (def.type === "media") {
5619
- populate[key] = {
5620
- fields: ["url", "name", "mime"]
5621
- };
5614
+ } else if (def.type === "relation" || def.type === "media") {
5615
+ populate[key] = true;
5622
5616
  }
5623
5617
  }
5624
5618
  return Object.keys(populate).length > 0 ? populate : void 0;