musora-content-services 1.3.20 → 1.3.21

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
+ ### [1.3.21](https://github.com/railroadmedia/musora-content-services/compare/v1.3.20...v1.3.21) (2025-03-21)
6
+
5
7
  ### [1.3.20](https://github.com/railroadmedia/musora-content-services/compare/v1.3.19...v1.3.20) (2025-03-21)
6
8
 
7
9
  ### [1.3.19](https://github.com/railroadmedia/musora-content-services/compare/v1.3.18...v1.3.19) (2025-03-18)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.3.20",
3
+ "version": "1.3.21",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -494,7 +494,7 @@ export async function fetchChallengeUserActiveChallenges(brand = null) {
494
494
  export async function fetchCarouselCardData(brand = null) {
495
495
  const urlParams = []
496
496
  if (brand) urlParams.push(`brand=${brand}`)
497
- if (globalConfig.sanityConfig.perspective === 'previewDrafts') urlParams.push(`previewSanity`)
497
+ if (globalConfig.sanityConfig.perspective === 'previewDrafts') urlParams.push(`sanityPreview`)
498
498
  const url = `/api/v2/content/carousel${urlParams.length ? `?${urlParams.join('&')}` : ''}`
499
499
  return await fetchHandler(url, 'get')
500
500
  }