sr-npm 1.7.1314 → 1.7.1315

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/backend/consts.js CHANGED
@@ -68,7 +68,7 @@ const TASKS = {
68
68
  getIdentifier:()=>"SHOULD_NEVER_SKIP",
69
69
  process:syncJobsFast,
70
70
  shouldSkipCheck:()=>false,
71
- estimatedDurationSec:60
71
+ estimatedDurationSec:120
72
72
  }
73
73
  }
74
74
 
package/backend/data.js CHANGED
@@ -243,11 +243,11 @@ async function populateCustomValuesCollection(customFieldsValues) {
243
243
  await wixData.bulkSave(COLLECTIONS.CUSTOM_VALUES, valuesToinsert);
244
244
  }
245
245
 
246
- async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS() {
246
+ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS(jobsWithNoDescriptions) {
247
247
  console.log('🚀 Starting job descriptions update process for ALL jobs');
248
248
 
249
249
  try {
250
- let jobsWithNoDescriptions = await getJobsWithNoDescriptions();
250
+ // let jobsWithNoDescriptions = await getJobsWithNoDescriptions();
251
251
 
252
252
  if (siteconfig.customFields==="true") {
253
253
  let customValues = await getAllCustomValues();
@@ -533,7 +533,7 @@ async function syncJobsFast() {
533
533
  console.log("saved jobs data to CMS successfully");//change comment
534
534
 
535
535
  console.log("saving jobs descriptions and location apply url to CMS");//change comment
536
- const status=await saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS();
536
+ const status=await saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS(jobsData);
537
537
 
538
538
  console.log("status inside syncJobsFast: ",status);
539
539
  if(status.success){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1314",
3
+ "version": "1.7.1315",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {