sr-npm 1.7.9 → 1.7.10

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 +6 -3
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -300,13 +300,16 @@ function fetchJobLocation(jobDetails) {
300
300
  },
301
301
  city: jobDetails.location.city,
302
302
  country: jobDetails.location.country,
303
- formatted: "",
303
+ formatted: [
304
+ jobDetails.location.city,
305
+ jobDetails.location.region,
306
+ jobDetails.location.regionCode,
307
+ jobDetails.location.country
308
+ ].filter(Boolean).join(', '),
304
309
  streetAddress: {},
305
310
  subdivision: "",
306
311
  postalCode: ""
307
312
  };
308
-
309
- console.log("jobLocation", jobLocation);
310
313
  return jobLocation;
311
314
 
312
315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {