sr-npm 1.7.527 → 1.7.528

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.
@@ -23,8 +23,7 @@ async function getCustomFieldKeys() {
23
23
  .query(COLLECTIONS.JOBS)
24
24
  .limit(1)
25
25
  .find()
26
-
27
- // .then(result => result.items.customFieldsNames);
26
+ .then(result => result.items[0].customFieldsNames);
28
27
  }
29
28
 
30
29
  module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.527",
3
+ "version": "1.7.528",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,7 +22,7 @@ const {
22
22
  let queryLocationVar;
23
23
  let queryJobTypeVar;
24
24
  let queryBrandVar;
25
- let queryCustomFields;
25
+ let queryCustomFields={};
26
26
  let searchInputBlurredFirstTime=true;
27
27
  let deletedParam=false;
28
28
  async function careersPageOnReady(_$w,thisObject,queryParams) {