musora-content-services 1.0.84 → 1.0.85

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.0.85](https://github.com/railroadmedia/musora-content-services/compare/v1.0.84...v1.0.85) (2024-09-06)
6
+
5
7
  ### [1.0.84](https://github.com/railroadmedia/musora-content-services/compare/v1.0.83...v1.0.84) (2024-09-06)
6
8
 
7
9
  ### [1.0.83](https://github.com/railroadmedia/musora-content-services/compare/v1.0.82...v1.0.83) (2024-09-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -240,7 +240,7 @@ function filtersToGroq(filters) {
240
240
  }
241
241
  }
242
242
 
243
- return field;
243
+ return `&& ${field}`;
244
244
  }).join(' ');
245
245
  return groq;
246
246
  }
@@ -256,4 +256,9 @@ describe('Sanity Queries', function () {
256
256
  const response = await fetchCoachLessons('drumeo',233797);
257
257
  expect(response.entity.length).toBeGreaterThan(0);
258
258
  });
259
+
260
+ test('fetchAll-IncludedFields', async () => {
261
+ let response = await fetchAll('drumeo', 'instructor',{includedFields: ['is_active']});
262
+ console.log('---------------------------------------',response);
263
+ });
259
264
  });