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 +2 -2
- package/backend/data.js +1 -3
- package/package.json +1 -1
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:
|
|
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
|
|
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')
|