sr-npm 1.7.406 → 1.7.407

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/consts.js CHANGED
@@ -65,8 +65,8 @@ const TASKS = {
65
65
  },
66
66
  [TASKS_NAMES.SYNC_JOBS_FAST]: {
67
67
  name: TASKS_NAMES.SYNC_JOBS_FAST,
68
- getIdentifier:task=>task.data,
69
- process:task=>syncJobsFast(task),
68
+ getIdentifier:task=>task.data.templateType,
69
+ process:templateType=>syncJobsFast(templateType),
70
70
  shouldSkipCheck:()=>false,
71
71
  estimatedDurationSec:60
72
72
  }
package/backend/data.js CHANGED
@@ -359,9 +359,7 @@ async function referenceJobs() {
359
359
  console.log("finished referencing jobs");
360
360
  }
361
361
 
362
- async function syncJobsFast(templateType='something') {
363
- console.log("templateType is : ", templateType);
364
-
362
+ async function syncJobsFast(templateType) {
365
363
  console.log("Syncing jobs fast");
366
364
  await createCompanyIdCollectionAndFillIt();
367
365
  if(templateType==='INTERNAL')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.406",
3
+ "version": "1.7.407",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {