sr-npm 1.7.589 → 1.7.591
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 +3 -4
- package/package.json +1 -1
package/backend/data.js
CHANGED
|
@@ -255,9 +255,9 @@ async function saveJobsDescriptionsAndLocationApplyUrlReferencesToCMS() {
|
|
|
255
255
|
referFriendLink: referFriendLink,
|
|
256
256
|
};
|
|
257
257
|
await wixData.update(COLLECTIONS.JOBS, updatedJob);
|
|
258
|
-
if (siteconfig.customFields==="true") {
|
|
259
|
-
await insertValuesReference(job._id);
|
|
260
|
-
}
|
|
258
|
+
// if (siteconfig.customFields==="true") {
|
|
259
|
+
// await insertValuesReference(job._id);
|
|
260
|
+
// }
|
|
261
261
|
return { success: true, jobId: job._id, title: job.title };
|
|
262
262
|
} catch (error) {
|
|
263
263
|
console.error(` ❌ Failed to update ${job.title} (${job._id}):`, error);
|
|
@@ -468,7 +468,6 @@ async function syncJobsFast() {
|
|
|
468
468
|
}
|
|
469
469
|
|
|
470
470
|
|
|
471
|
-
|
|
472
471
|
async function clearCollections() {
|
|
473
472
|
console.log("clearing collections");
|
|
474
473
|
await Promise.all([
|