musora-content-services 1.0.244 → 1.0.246

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,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.246](https://github.com/railroadmedia/musora-content-services/compare/v1.0.245...v1.0.246) (2024-12-18)
6
+
7
+ ### [1.0.245](https://github.com/railroadmedia/musora-content-services/compare/v1.0.244...v1.0.245) (2024-12-18)
8
+
5
9
  ### [1.0.244](https://github.com/railroadmedia/musora-content-services/compare/v1.0.243...v1.0.244) (2024-12-18)
6
10
 
7
11
  ### [1.0.243](https://github.com/railroadmedia/musora-content-services/compare/v1.0.242...v1.0.243) (2024-12-18)
package/link_mcs.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.244",
3
+ "version": "1.0.246",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1325,7 +1325,7 @@ export async function fetchLiveEvent(brand) {
1325
1325
  // See LiveStreamEventService.getCurrentOrNextLiveEvent for some nice complicated logic which I don't think is actually importart
1326
1326
  // this has some +- on times
1327
1327
  // But this query just finds the first scheduled event (sorted by start_time) that ends after now()
1328
- const query = `*[status == 'scheduled' && defined(live_event_start_time) && live_event_start_time <= '${getSanityDate(startDateTemp, false)}' && live_event_end_time >= '${getSanityDate(endDateTemp, false)}']{
1328
+ const query = `*[status == 'scheduled' && brand == '${brand}' && defined(live_event_start_time) && live_event_start_time <= '${getSanityDate(startDateTemp, false)}' && live_event_end_time >= '${getSanityDate(endDateTemp, false)}']{
1329
1329
  'slug': slug.current,
1330
1330
  'id': railcontent_id,
1331
1331
  live_event_start_time,