sr-npm 1.7.557 → 1.7.559

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 +1 -2
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -153,7 +153,7 @@ async function saveJobsDataToCMS() {
153
153
 
154
154
  await insertValuesReference(jobToCustomValues);
155
155
  console.log("inserted values reference successfully");
156
- await insertJobsReference(customValuesToJobs);
156
+ //await insertJobsReference(customValuesToJobs);
157
157
  console.log("inserted jobs reference successfully");
158
158
 
159
159
  console.log(`✓ All chunks processed. Total jobs saved: ${totalSaved}/${jobsData.length}`);
@@ -169,7 +169,6 @@ async function insertValuesReference(jobToCustomValues) {
169
169
  }
170
170
  async function insertJobsReference(customValuesToJobs) {
171
171
  console.log("inserting jobs reference");
172
- console.log("jobToCustomValues: ", jobToCustomValues);
173
172
  for (const valueId of Object.keys(customValuesToJobs)) {
174
173
  const items = customValuesToJobs[valueId];
175
174
  await wixData.insertReference(COLLECTIONS.CUSTOM_VALUES, CUSTOM_VALUES_COLLECTION_FIELDS.MULTI_REF_JOBS_CUSTOM_VALUES,valueId, items);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.557",
3
+ "version": "1.7.559",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {