Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 4d70606

Browse files
author
sachin-maheshwari
authored
Merge pull request #15 from topcoder-platform/feature/remove-unused-methods
Removed unused methods
2 parents 1fd2ce3 + 58c76b6 commit 4d70606

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/common/helper.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -119,33 +119,6 @@ async function getAttributes (token) {
119119
}
120120
}
121121

122-
/**
123-
* Get all skills
124-
* * Unused for now. Retained for any future use
125-
* @param {String} token
126-
* @returns a map (name -> id)
127-
*/
128-
async function getSkillProviderId (token) {
129-
const res = await axios.get(`${config.UBAHN_API_URL}/skillsProviders`, { headers: { Authorization: `Bearer ${token}` }, params: { name: config.SKILL_PROVIDER_NAME } })
130-
if (res.data && res.data.length > 0) {
131-
return res.data[0].id
132-
}
133-
}
134-
135-
/**
136-
* Get the skillId
137-
* * Unused for now. Retained for any future use
138-
* @param {String} skillProviderId
139-
* @param {String} name
140-
* @param {String} token
141-
*/
142-
async function getSkillId (skillProviderId, name, token) {
143-
const res = await axios.get(`${config.UBAHN_API_URL}/skills`, { headers: { Authorization: `Bearer ${token}` }, params: { skillProviderId, name } })
144-
if (res.data && res.data.length > 0) {
145-
return res.data[0].id
146-
}
147-
}
148-
149122
/**
150123
* Returns the member location for the member handle
151124
* * Unused for now. Retained for any future use

0 commit comments

Comments
 (0)