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