refactor: simplify quiz retrieval logic by removing unnecessary schedule validation

- Removed the requirement for 'scheduleId' in the quiz retrieval process, streamlining the logic and improving code clarity.
- Consolidated the quiz retrieval query to enhance maintainability while ensuring it still functions correctly with the existing data structure.
- Updated the .gitignore to clarify the purpose of the 'pothos.generated.ts' file, improving project documentation.
This commit is contained in:
2024-12-10 16:57:04 +07:00
parent 0d39f053bb
commit 2dbe5c589b
2 changed files with 8 additions and 17 deletions

2
.gitignore vendored
View File

@@ -131,5 +131,5 @@ dist
.pnp.*
# pothos generated
# Pothos generated types declaration
pothos.generated.ts