sr-npm 1.7.54 → 1.7.55

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 +3 -0
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -6,7 +6,9 @@ const { getAllPositions } = require('./queries');
6
6
 
7
7
 
8
8
  async function saveJobsDataToCMS() {
9
+ console.log('saveJobsDataToCMS is called');
9
10
  const positions = await fetchPositionsFromSRAPI();
11
+ console.log('after fetchPositionsFromSRAPI');
10
12
  // bulk insert to jobs collection without descriptions first
11
13
  const jobsData = positions.content.map(position => {
12
14
  const basicJob = {
@@ -24,6 +26,7 @@ async function saveJobsDataToCMS() {
24
26
  return basicJob;
25
27
  });
26
28
 
29
+ console.log('i am here@@@@@@@@ ', );
27
30
  const chunkSize = 1000;
28
31
  let totalSaved = 0;
29
32
  const totalChunks = Math.ceil(jobsData.length / chunkSize);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.54",
3
+ "version": "1.7.55",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {