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 +1 -1
- package/backend/data.js +3 -3
- package/package.json +1 -1
package/backend/consts.js
CHANGED
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
|
-
|
|
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){
|