From c9c6aef466c8c4524264d71ace0eea81a1a70a0f Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 13 Jan 2026 10:36:17 +0530 Subject: [PATCH] fix: certified participants query --- lms/lms/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/lms/api.py b/lms/lms/api.py index 9b837898..fff7215a 100644 --- a/lms/lms/api.py +++ b/lms/lms/api.py @@ -304,8 +304,8 @@ def get_certified_participant_details(member): def get_certification_query(filters): - Certificate = DocType("LMS Certificate") - User = DocType("User") + Certificate = frappe.qb.DocType("LMS Certificate") + User = frappe.qb.DocType("User") query = ( frappe.qb.from_(Certificate)