sr-npm 1.7.404 → 1.7.406

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 +5 -1
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -359,11 +359,15 @@ async function referenceJobs() {
359
359
  console.log("finished referencing jobs");
360
360
  }
361
361
 
362
- async function syncJobsFast(templateType) {
362
+ async function syncJobsFast(templateType='something') {
363
363
  console.log("templateType is : ", templateType);
364
+
364
365
  console.log("Syncing jobs fast");
365
366
  await createCompanyIdCollectionAndFillIt();
367
+ if(templateType==='INTERNAL')
368
+ {
366
369
  await createApiKeyCollectionAndFillIt();
370
+ }
367
371
  await createCollections();
368
372
  await clearCollections();
369
373
  console.log("saving jobs data to CMS");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.404",
3
+ "version": "1.7.406",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {