From 38ebab59c7e5634b0541c8b356b955138be5e8c7 Mon Sep 17 00:00:00 2001 From: pateljannat Date: Sat, 2 Oct 2021 19:39:27 +0530 Subject: [PATCH] fix: api call for progress save --- community/www/batch/learn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/www/batch/learn.js b/community/www/batch/learn.js index 00b489f1..0c76d0cb 100644 --- a/community/www/batch/learn.js +++ b/community/www/batch/learn.js @@ -68,7 +68,7 @@ var mark_active_question = (e = undefined) => { var mark_progress = (e) => { var status = $(e.currentTarget).attr("data-progress"); frappe.call({ - method: "community.lms.doctype.lesson.lesson.save_progress", + method: "community.lms.doctype.course_lesson.course_lesson.save_progress", args: { lesson: $(".title").attr("data-lesson"), course: $(".title").attr("data-course"),