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 +2 -0
- package/package.json +1 -1
- package/src/services/content.js +4 -1
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
package/src/services/content.js
CHANGED
|
@@ -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
|
-
|
|
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
|
);
|