@strapi/content-releases 5.0.0-rc.25 → 5.0.0-rc.27

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.
@@ -1052,7 +1052,7 @@ const createReleaseActionService = ({ strapi: strapi2 }) => {
1052
1052
  `Action with id ${actionId} not found in release with id ${releaseId} or it is already published`
1053
1053
  );
1054
1054
  }
1055
- const actionStatus = update.type === "publish" ? getDraftEntryValidStatus(
1055
+ const actionStatus = update.type === "publish" ? await getDraftEntryValidStatus(
1056
1056
  {
1057
1057
  contentType: action.contentType,
1058
1058
  documentId: action.entryDocumentId,
@@ -1315,7 +1315,12 @@ const releaseController = {
1315
1315
  },
1316
1316
  populate: {
1317
1317
  actions: {
1318
- fields: ["type"]
1318
+ fields: ["type"],
1319
+ filters: {
1320
+ contentType,
1321
+ entryDocumentId: entryDocumentId ?? null,
1322
+ locale: locale ?? null
1323
+ }
1319
1324
  }
1320
1325
  }
1321
1326
  });