diff --git a/package.json b/package.json index 71a4d4e..eae182f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@didask/scol-r", - "version": "2.11.0", + "version": "2.12.0", "description": "Shareable Cross-Origin Learning Resources", "main": "index.html", "types": "lib/index.d.ts", diff --git a/src/MessageHandler.ts b/src/MessageHandler.ts index 95a7ae6..c55b2dc 100644 --- a/src/MessageHandler.ts +++ b/src/MessageHandler.ts @@ -49,7 +49,7 @@ export class MessageReceiver { setLessonStatus(lessonStatus: string) { this.adapter.setLessonStatus(lessonStatus); - this.adapter.commit(); // We commit the changes to the LMS each time the lesson status is updated. + this.adapter.LMSCommit(); // We commit the changes to the LMS each time the lesson status is updated. } setObjectives(objectivesIds: string[]) {