sr-npm 1.7.1073 → 1.7.1074
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
|
@@ -261,7 +261,6 @@ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS() {
|
|
|
261
261
|
const API_CHUNK_SIZE = 80;
|
|
262
262
|
const pageChunks = Math.ceil(jobsWithNoDescriptions.items.length / API_CHUNK_SIZE);
|
|
263
263
|
const richContentConverterToken = await getTokenFromCMS(TOKEN_NAME.RICH_CONTENT_CONVERTER_TOKEN);
|
|
264
|
-
console.log(richContentConverterToken + " is the rich content converter token");
|
|
265
264
|
await chunkedBulkOperation({
|
|
266
265
|
items: jobsWithNoDescriptions.items,
|
|
267
266
|
chunkSize: API_CHUNK_SIZE,
|
|
@@ -114,7 +114,6 @@ async function fetchJobDescription(jobId,testObject=undefined) {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
async function htmlRichContentConverter(sections,richContentConverterToken) {
|
|
117
|
-
console.log("sections: are ",sections);
|
|
118
117
|
const richContentObject = {}
|
|
119
118
|
for (const [sectionTitle, sectionData] of Object.entries(sections)) {
|
|
120
119
|
if (sectionData.text) {
|
|
@@ -143,7 +142,6 @@ async function htmlRichContentConverter(sections,richContentConverterToken) {
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
}
|
|
146
|
-
console.log("richContentObject: are ",richContentObject);
|
|
147
145
|
return richContentObject;
|
|
148
146
|
}
|
|
149
147
|
|