fix: quiz api issue

This commit is contained in:
Jannat Patel
2025-01-02 19:27:35 +05:30
parent ae5ea9a8aa
commit be1c0de4c6
2 changed files with 7 additions and 6 deletions

View File

@@ -1327,7 +1327,6 @@ def get_question_details(question):
for i in range(1, 5):
fields.append(f"option_{i}")
fields.append(f"explanation_{i}")
fields.append(f"is_correct_{i}")
question_details = frappe.db.get_value("LMS Question", question, fields, as_dict=1)
return question_details