sr-npm 1.7.1315 → 1.7.1316

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.
Files changed (2) hide show
  1. package/backend/data.js +8 -7
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -245,6 +245,7 @@ async function populateCustomValuesCollection(customFieldsValues) {
245
245
 
246
246
  async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS(jobsWithNoDescriptions) {
247
247
  console.log('🚀 Starting job descriptions update process for ALL jobs');
248
+ console.log("jobsWithNoDescriptions: ",jobsWithNoDescriptions);
248
249
 
249
250
  try {
250
251
  // let jobsWithNoDescriptions = await getJobsWithNoDescriptions();
@@ -266,14 +267,14 @@ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS(jobsWithNo
266
267
  // let totalFailed = 0;
267
268
  // let totalProcessed = 0;
268
269
 
269
- console.log(
270
- `Total jobs in database without descriptions: ${jobsWithNoDescriptions?.items?.length}`
271
- );
270
+ // console.log(
271
+ // `Total jobs in database without descriptions: ${jobsWithNoDescriptions?.length}`
272
+ // );
272
273
 
273
- if (jobsWithNoDescriptions.items.length === 0) {
274
- console.log('No jobs found in database');
275
- return { success: true, message: 'No jobs found' };
276
- }
274
+ // if (jobsWithNoDescriptions.length === 0) {
275
+ // console.log('No jobs found in database');
276
+ // return { success: true, message: 'No jobs found' };
277
+ // }
277
278
 
278
279
 
279
280
  // const API_CHUNK_SIZE = 80;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1315",
3
+ "version": "1.7.1316",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {