From f8c10d1807b78785d7b7b6f9425360acfaab45d1 Mon Sep 17 00:00:00 2001 From: KerollesFathy Date: Sat, 13 Dec 2025 14:22:08 +0000 Subject: [PATCH] fix: update certification categories to include label and value --- lms/lms/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lms/lms/api.py b/lms/lms/api.py index b7a405c4..ba24383c 100644 --- a/lms/lms/api.py +++ b/lms/lms/api.py @@ -449,8 +449,7 @@ def get_certification_categories(): for doc in docs: category = doc.course_title if doc.course_title else doc.batch_title if category not in categories: - categories.append(category) - + categories.append({"label": category, "value": category}) return categories