sr-npm 1.7.203 → 1.7.204

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 +2 -0
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -176,6 +176,8 @@ async function aggregateJobsByFieldToCMS({ field, collection }) {
176
176
  return { success: true, message: 'No jobs to save.' };
177
177
  }
178
178
  try {
179
+ console.log("saving to collection: ", collection);
180
+ console.log("toSave: ", toSave);
179
181
  const saveResult = await wixData.bulkSave(collection, toSave);
180
182
  console.log(`Saved ${toSave.length} ${field} counts to ${collection}.`);
181
183
  return { success: true, saved: toSave.length, result: saveResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.203",
3
+ "version": "1.7.204",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {