sr-npm 1.7.299 → 1.7.301

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
@@ -126,7 +126,7 @@ async function saveJobsDescriptionsAndLocationApplyUrlToCMS() {
126
126
  const updatedJob = {
127
127
  ...job,
128
128
  locationAddress: jobLocation,
129
- jobDescription: jobDetails.jobAd.sections.jobDescription,
129
+ jobDescription: jobDetails.jobAd.sections,
130
130
  applyLink: applyLink,
131
131
  };
132
132
  await wixData.update(COLLECTIONS.JOBS, updatedJob);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.299",
3
+ "version": "1.7.301",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,11 +13,12 @@ const {
13
13
 
14
14
  const item = await _$w('#datasetJobsItem').getCurrentItem();
15
15
  console.log("item is: ", item);
16
+ console.log("item.jobDescription.text is: ", item.jobDescription.text);
16
17
 
17
18
  _$w('#companyDescriptionText').text = "htmlToText(item.jobDescription.companyDescription.text);"
18
19
  _$w('#responsibilitiesText').text = "htmlToText(item.jobDescription.jobDescription.text);"
19
20
  _$w('#qualificationsText').text = "htmlToText(item.jobDescription.qualifications.text);"
20
- _$w('#richContent').content = item.jobDescription.jobDescription.text;
21
+ _$w('#richContent').content = item.jobDescription.text;
21
22
  _$w('#relatedJobsTitleText').text = `More ${item.department} Positions`;
22
23
  });
23
24