sr-npm 1.7.954 → 1.7.955

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.954",
3
+ "version": "1.7.955",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,7 +20,7 @@ const {
20
20
 
21
21
  }
22
22
 
23
- async function getCategoryValueId(customValues) {
23
+ async function getCategoryValue(customValues) {
24
24
  const categoryCustomField=await wixData.query(COLLECTIONS.CUSTOM_FIELDS).eq(CUSTOM_FIELDS_COLLECTION_FIELDS.TITLE,"Category").find().then(result => result.items[0]);
25
25
  for(const value of customValues) {
26
26
  if(value.customField===categoryCustomField._id) {
@@ -55,7 +55,7 @@ async function getCategoryValueId(customValues) {
55
55
  {
56
56
 
57
57
  const multiRefField=await getPositionWithMultiRefField(item._id);
58
- const categoryValue=await getCategoryValueId(multiRefField);
58
+ const categoryValue=await getCategoryValue(multiRefField);
59
59
  handleJobDetails(_$w,item,categoryValue);
60
60
 
61
61
  const relatedJobs = await getRelatedJobs({ categoryValueId:categoryValue._id, itemId: item._id ,limit:5});