@stackfactor/client-api 1.0.99 → 1.1.1
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.
- package/lib/skill.js +0 -1
- package/lib/skillTemplate.js +2 -2
- package/package.json +1 -1
package/lib/skill.js
CHANGED
|
@@ -445,7 +445,6 @@ export const setSkillInformationFromTemplate = (id, data, token) => {
|
|
|
445
445
|
export const validateSkill = (id, token) => {
|
|
446
446
|
return new Promise(function (resolve, reject) {
|
|
447
447
|
const requestData = {
|
|
448
|
-
data: data,
|
|
449
448
|
id: id,
|
|
450
449
|
};
|
|
451
450
|
let confirmationRequest = client.post(
|
package/lib/skillTemplate.js
CHANGED
|
@@ -250,10 +250,9 @@ export const setTemplateTags = (id, tags, token) => {
|
|
|
250
250
|
* @param {String} token Authorization token
|
|
251
251
|
* @returns {Promise}
|
|
252
252
|
*/
|
|
253
|
-
export const
|
|
253
|
+
export const validateTemplate = (id, token) => {
|
|
254
254
|
return new Promise(function (resolve, reject) {
|
|
255
255
|
const requestData = {
|
|
256
|
-
data: data,
|
|
257
256
|
id: id,
|
|
258
257
|
};
|
|
259
258
|
let confirmationRequest = client.post(
|
|
@@ -312,6 +311,7 @@ const skillTemplate = {
|
|
|
312
311
|
publishTemplate,
|
|
313
312
|
setTemplateInformation,
|
|
314
313
|
setTemplateTags,
|
|
314
|
+
validateTemplate,
|
|
315
315
|
watchSkillTemplate,
|
|
316
316
|
};
|
|
317
317
|
|