sr-npm 1.7.1257 → 1.7.1259

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/data.js CHANGED
@@ -287,7 +287,7 @@ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS() {
287
287
  const chunkPromises = chunk.map(async job => {
288
288
  try {
289
289
  const jobDetails = await fetchJobDescription(job._id);
290
- const richContentDescription=await htmlRichContentConverter(jobDetails.jobAd.sections,richContentConverterToken,job.name);
290
+ const richContentDescription=await htmlRichContentConverter(jobDetails.jobAd.sections,richContentConverterToken,jobDetails);
291
291
  const jobLocation = fetchJobLocation(jobDetails);
292
292
  const {applyLink , referFriendLink} = fetchApplyAndReferFriendLink(jobDetails);
293
293
  const updatedJob = {
@@ -332,8 +332,8 @@ function createEmptyParagraph(id) {
332
332
 
333
333
  // Adds empty paragraph nodes between consecutive paragraphs and before lists
334
334
  function addEmptyParagraphsBetweenConsecutive(html, richContent,jobName) {
335
-
336
- if(jobName===" Apparel Team Member - The Warehouse, Dargaville")
335
+ console.log("jobName is : ",jobName);
336
+ if(jobName.name===" Apparel Team Member - The Warehouse, Dargaville")
337
337
  {
338
338
  console.log("rich content is : ",richContent);
339
339
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1257",
3
+ "version": "1.7.1259",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {