fix: patched quiz submission data

This commit is contained in:
Jannat Patel
2024-11-27 22:47:45 +05:30
parent a64b0f734a
commit 0e6df83961
7 changed files with 107 additions and 39 deletions

View File

@@ -858,7 +858,8 @@ def get_telemetry_boot_info():
@frappe.whitelist()
def is_onboarding_complete():
if not has_course_moderator_role():
return {"is_onboarded": False}
return {"is_onboarded": True}
course_created = frappe.db.a_row_exists("LMS Course")
chapter_created = frappe.db.a_row_exists("Course Chapter")
lesson_created = frappe.db.a_row_exists("Course Lesson")