fix: renamed reapplication field to duration

This commit is contained in:
Jannat Patel
2022-04-28 16:30:51 +05:30
parent 5db3d14b17
commit 83176a0293
4 changed files with 10 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ def get_context(context):
course = frappe.db.get_value("LMS Course", course_name,
["name", "title", "image", "short_introduction", "description", "published", "upcoming", "disable_self_learning",
"status", "video_link", "enable_certification", "grant_certificate_after", "paid_certificate",
"price_certificate", "currency", "max_attempts", "reapplication"],
"price_certificate", "currency", "max_attempts", "duration"],
as_dict=True)
if course is None: