fix: update certification categories to include label and value

This commit is contained in:
KerollesFathy
2025-12-13 14:22:08 +00:00
parent 80deed2be7
commit f8c10d1807

View File

@@ -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