sr-npm 1.7.814 → 1.7.815

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.814",
3
+ "version": "1.7.815",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -99,7 +99,7 @@ async function getCategoryValueId(customFields) {
99
99
  async function getRelatedJobs(categoryValueId,itemId) {
100
100
  console.log("categoryValueId inside getRelatedJobs ", categoryValueId);
101
101
  console.log("type of categoryValueId: ", typeof categoryValueId);
102
- const relatedJobs=await wixData.query(COLLECTIONS.JOBS).include(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES).hasSome(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,[categoryValueId]).neq(JOBS_COLLECTION_FIELDS.ID,itemId).find();
102
+ const relatedJobs=await wixData.query(COLLECTIONS.JOBS).include(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES).hasSome(JOBS_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,[categoryValueId]).ne(JOBS_COLLECTION_FIELDS.ID,itemId).find();
103
103
  console.log("relatedJobs@@$@$@$#$@: ", relatedJobs);
104
104
  return relatedJobs.items;
105
105
  }