musora-content-services 1.0.63 → 1.0.65
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 +4 -0
- package/package.json +1 -1
- package/src/services/sanity.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.65](https://github.com/railroadmedia/musora-content-services/compare/v1.0.64...v1.0.65) (2024-08-26)
|
|
6
|
+
|
|
7
|
+
### [1.0.64](https://github.com/railroadmedia/musora-content-services/compare/v1.0.63...v1.0.64) (2024-08-26)
|
|
8
|
+
|
|
5
9
|
### [1.0.63](https://github.com/railroadmedia/musora-content-services/compare/v1.0.62...v1.0.63) (2024-08-26)
|
|
6
10
|
|
|
7
11
|
### [1.0.62](https://github.com/railroadmedia/musora-content-services/compare/v1.0.61...v1.0.62) (2024-08-26)
|
package/package.json
CHANGED
package/src/services/sanity.js
CHANGED
|
@@ -628,11 +628,14 @@ export async function fetchMethod(brand, slug) {
|
|
|
628
628
|
{
|
|
629
629
|
"id": railcontent_id,
|
|
630
630
|
published_on,
|
|
631
|
+
difficulty,
|
|
632
|
+
difficulty_string,
|
|
631
633
|
"thumbnail_url": thumbnail.asset->url,
|
|
632
634
|
"instructor": instructor[]->{name},
|
|
633
635
|
title,
|
|
634
636
|
"type": _type,
|
|
635
637
|
"description": description[0].children[0].text,
|
|
638
|
+
xp,
|
|
636
639
|
}
|
|
637
640
|
} | order(published_on asc)`
|
|
638
641
|
return fetchSanity(query, false);
|