@stackfactor/client-api 1.1.4 → 1.1.6

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.
@@ -82,19 +82,19 @@ export const discardLearningContentChanges = (id, token) => {
82
82
  * Generate the learning activity content
83
83
  * @param {String} skillId
84
84
  * @param {String} microSkillId
85
- * @param {String} learningActivityId
85
+ * @param {Object} learningActivity
86
86
  * @param {List<String>} sections
87
87
  */
88
88
  export const generateLearningActivityContent = (
89
89
  skillId,
90
90
  microSkillId,
91
- learningActivityId,
91
+ learningActivity,
92
92
  sections
93
93
  ) => {
94
94
  return new Promise(function (resolve, reject) {
95
95
  const data = {
96
+ learningActivity: learningActivity,
96
97
  microSkillId: microSkillId,
97
- learningActivityId: learningActivityId,
98
98
  sections: sections,
99
99
  };
100
100
  const request = client.get(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackfactor/client-api",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "Node.js library for the StackFactor API",
5
5
  "main": "index.js",
6
6
  "exports": {