@stackfactor/client-api 1.1.6 → 1.1.8
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/learningContent.js +4 -1
- package/package.json +1 -1
package/lib/learningContent.js
CHANGED
|
@@ -84,12 +84,14 @@ export const discardLearningContentChanges = (id, token) => {
|
|
|
84
84
|
* @param {String} microSkillId
|
|
85
85
|
* @param {Object} learningActivity
|
|
86
86
|
* @param {List<String>} sections
|
|
87
|
+
* @param {String} token
|
|
87
88
|
*/
|
|
88
89
|
export const generateLearningActivityContent = (
|
|
89
90
|
skillId,
|
|
90
91
|
microSkillId,
|
|
91
92
|
learningActivity,
|
|
92
|
-
sections
|
|
93
|
+
sections,
|
|
94
|
+
token
|
|
93
95
|
) => {
|
|
94
96
|
return new Promise(function (resolve, reject) {
|
|
95
97
|
const data = {
|
|
@@ -336,6 +338,7 @@ const learningContent = {
|
|
|
336
338
|
deleteLearningContent,
|
|
337
339
|
discardLearningContentChanges,
|
|
338
340
|
getLearningContentInformationById,
|
|
341
|
+
generateLearningActivityContent,
|
|
339
342
|
getLearningContentList,
|
|
340
343
|
publishLearningContent,
|
|
341
344
|
setLearningActivityInformation,
|