sr-npm 1.7.479 → 1.7.481
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/data.js +2 -2
- package/package.json +1 -1
package/backend/data.js
CHANGED
|
@@ -309,7 +309,8 @@ async function aggregateJobs() {
|
|
|
309
309
|
console.log("Aggregating jobs");
|
|
310
310
|
await Promise.all([
|
|
311
311
|
aggregateJobsByFieldToCMS({ field: JOBS_COLLECTION_FIELDS.DEPARTMENT, collection: COLLECTIONS.AMOUNT_OF_JOBS_PER_DEPARTMENT }),
|
|
312
|
-
aggregateJobsByFieldToCMS({ field: JOBS_COLLECTION_FIELDS.CITY_TEXT, collection: COLLECTIONS.CITIES })
|
|
312
|
+
aggregateJobsByFieldToCMS({ field: JOBS_COLLECTION_FIELDS.CITY_TEXT, collection: COLLECTIONS.CITIES }),
|
|
313
|
+
aggregateJobsByFieldToCMS({ field: JOBS_COLLECTION_FIELDS.BRAND, collection: COLLECTIONS.BRANDS })
|
|
313
314
|
]);
|
|
314
315
|
console.log("finished aggregating jobs");
|
|
315
316
|
}
|
|
@@ -387,7 +388,6 @@ async function fillSecretManagerMirror() {
|
|
|
387
388
|
|
|
388
389
|
|
|
389
390
|
|
|
390
|
-
|
|
391
391
|
module.exports = {
|
|
392
392
|
syncJobsFast,
|
|
393
393
|
referenceJobs,
|