1 Commits

Author SHA1 Message Date
b46da5fbad refactor: enhance quiz retrieval and schema consistency
- Improved quiz retrieval logic by ensuring a valid random index is calculated, preventing errors when no quizzes are available.
- Updated the Quiz schema to streamline field names and enhance clarity, replacing existing fields with more descriptive alternatives.
- Reformatted code for better readability and consistency, adhering to style guidelines for improved maintainability.
2024-12-10 17:06:30 +07:00