musora-content-services 2.3.1 → 2.3.2

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.3.2](https://github.com/railroadmedia/musora-content-services/compare/v2.3.1...v2.3.2) (2025-03-31)
6
+
5
7
  ### [2.3.1](https://github.com/railroadmedia/musora-content-services/compare/v2.3.0...v2.3.1) (2025-03-31)
6
8
 
7
9
  ## [2.3.0](https://github.com/railroadmedia/musora-content-services/compare/v1.3.15...v2.3.0) (2025-03-31)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -299,11 +299,14 @@ export async function getScheduleContentRows(brand, contentRowId = null, { page
299
299
  // Apply special pagination rules
300
300
  const isNewReleases = id === 'New-Releases';
301
301
  const pagination = isNewReleases ? { page: 1, limit: 30 } : { page: 1, limit: Number.MAX_SAFE_INTEGER };
302
+ const items = await section.fetchMethod(brand, pagination)
302
303
 
303
304
  return {
304
305
  id,
305
306
  title: section.title,
306
- content: await section.fetchMethod(brand, pagination)
307
+ // TODO: Remove content after FE/MA updates the existing code to use items
308
+ content: items,
309
+ items: items
307
310
  };
308
311
  })
309
312
  );