refactor: added enrolled status to program card
diff --git a/erpnext/www/lms/content.py b/erpnext/www/lms/content.py
index 67e3508..25d5bc7 100644
--- a/erpnext/www/lms/content.py
+++ b/erpnext/www/lms/content.py
@@ -16,7 +16,7 @@
frappe.local.flags.redirect_location = '/lms'
raise frappe.Redirect
- context.content = frappe.get_doc(content_type, content).as_dict()
+ context.content = frappe.get_doc(content_type, content)
context.content_type = content_type
context.course = frappe.form_dict['course']