Skip to content

Commit 8ed3365

Browse files
LookupService - Call v4 api /technologies instead v3
1 parent fa269f9 commit 8ed3365

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"lint:js": "./node_modules/.bin/eslint --ext .js,.jsx .",
3232
"test": "npm run lint && npm run jest"
3333
},
34-
"version": "1000.25.5",
34+
"version": "1000.25.6",
3535
"dependencies": {
3636
"auth0-js": "^6.8.4",
3737
"config": "^3.2.0",

src/services/lookup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class LookupService {
1515
constructor(tokenV3) {
1616
this.private = {
1717
api: getApi('V3', tokenV3),
18+
apiV4: getApi('V4', tokenV3),
1819
apiV5: getApi('V5', tokenV3),
1920
tokenV3,
2021
};
@@ -125,7 +126,7 @@ class LookupService {
125126
* @return {Promise} Resolves to the review types.
126127
*/
127128
async getTechnologies() {
128-
const res = await this.private.api.get('/technologies');
129+
const res = await this.private.apiV4.get('/technologies');
129130
return getApiResponsePayload(res);
130131
}
131132
}

0 commit comments

Comments
 (0)