musora-content-services 1.0.176 → 1.0.177

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.0.177](https://github.com/railroadmedia/musora-content-services/compare/v1.0.176...v1.0.177) (2024-11-18)
6
+
5
7
  ### [1.0.176](https://github.com/railroadmedia/musora-content-services/compare/v1.0.161...v1.0.176) (2024-11-15)
6
8
 
7
9
  ### [1.0.175](https://github.com/railroadmedia/musora-content-services/compare/v1.0.174...v1.0.175) (2024-11-15)
package/README.md CHANGED
File without changes
package/jest.config.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musora-content-services",
3
- "version": "1.0.176",
3
+ "version": "1.0.177",
4
4
  "description": "A package for Musoras content services ",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * @module Railcontent-Services
3
3
  */
4
+ import {contentStatusCompleted} from "./contentProgress";
4
5
 
5
6
  const {globalConfig} = require('./config');
6
7
 
@@ -472,6 +473,7 @@ export async function postChallengesCommunityNotification(contentId) {
472
473
  */
473
474
  export async function postChallengesCompleteLesson(contentId) {
474
475
  let url = `/challenges/complete_lesson/${contentId}`;
476
+ await contentStatusCompleted(contentId);
475
477
  return await fetchHandler(url, 'post');
476
478
  }
477
479
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/test/log.js CHANGED
File without changes
File without changes
File without changes