sr-npm 1.7.447 → 1.7.449

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.
@@ -103,13 +103,17 @@ async function fetchPositionsFromSRAPI(testObject=undefined) {
103
103
  return result;
104
104
  }
105
105
 
106
- async function fetchJobDescription(jobId,testObject=undefined) {
107
- let companyId, templateType;
108
- if (testObject) {
109
- ({ companyId, templateType } = testObject);
110
- } else {
111
- ({ companyId, templateType } = await getApiKeys());
112
- }
106
+ // async function fetchJobDescription(jobId,testObject=undefined) {
107
+ // let companyId, templateType;
108
+ // if (testObject) {
109
+ // ({ companyId, templateType } = testObject);
110
+ // } else {
111
+ // ({ companyId, templateType } = await getApiKeys());
112
+ // }
113
+ // return await makeSmartRecruitersRequest(`/v1/companies/${companyId}/postings/${jobId}`,templateType);
114
+ // }
115
+ async function fetchJobDescription(jobId) {
116
+ const {companyId,templateType} = await getApiKeys();
113
117
  return await makeSmartRecruitersRequest(`/v1/companies/${companyId}/postings/${jobId}`,templateType);
114
118
  }
115
119
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.447",
3
+ "version": "1.7.449",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {