sr-npm 1.7.159 → 1.7.160

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 +2 -2
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -28,11 +28,11 @@ async function saveJobsDataToCMS() {
28
28
  const positions = await fetchPositionsFromSRAPI();
29
29
  // bulk insert to jobs collection without descriptions first
30
30
  const jobsData = positions.content.map(position => {
31
- validatePosition(position);
31
+ // validatePosition(position);
32
32
  const basicJob = {
33
33
  _id: position.id,
34
34
  title: position.title,
35
- department: position.department.label.replace('&', ' and '),
35
+ department: position.department.label,
36
36
  cityText: normalizeCityName(position.location.city),
37
37
  location: position.location,
38
38
  country: position.location.country,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.159",
3
+ "version": "1.7.160",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {