musora-content-services 1.0.53 → 1.0.54
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/sanity.js +1 -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
|
+
### [1.0.54](https://github.com/railroadmedia/musora-content-services/compare/v1.0.53...v1.0.54) (2024-08-23)
|
|
6
|
+
|
|
5
7
|
### [1.0.53](https://github.com/railroadmedia/musora-content-services/compare/v1.0.52...v1.0.53) (2024-08-23)
|
|
6
8
|
|
|
7
9
|
### [1.0.52](https://github.com/railroadmedia/musora-content-services/compare/v1.0.51...v1.0.52) (2024-08-23)
|
package/package.json
CHANGED
package/src/services/sanity.js
CHANGED
|
@@ -636,7 +636,7 @@ export async function fetchChildren(railcontentId) {
|
|
|
636
636
|
* @returns {Promise<Object|null>} - The fetched methods data or null if not found.
|
|
637
637
|
*/
|
|
638
638
|
export async function fetchMethods(brand) {
|
|
639
|
-
const query = `*[_type == 'learning-path' && brand == ${
|
|
639
|
+
const query = `*[_type == 'learning-path' && brand == ${brand}] {
|
|
640
640
|
difficulty,
|
|
641
641
|
difficulty_string,
|
|
642
642
|
"description": description[0].children[0].text,
|