ballyalley-o / tccp-server

A scalable backend server solution designed to manage and orchestrate software development bootcamps/courses from multiple schools, providing robust APIs and data storage capabilities.
2 stars 0 forks source link

Fix virtuals conflict in bootcamp advanced result #70

Closed ballyalley-o closed 2 months ago

ballyalley-o commented 2 months ago

This pull request fixes the issue with virtuals conflicting in the bootcamp advanced result. It refactors the UserVirtual enum value and adds the UserCourseVirtual enum value in key.ts. It also refactors the bootcamp controller to populate additional virtual fields. Additionally, it refactors the LogInitRequest decorator to remove unnecessary line breaks and improve code readability, and the cors-config.ts file to remove a console.log statement. Finally, it refactors the bootcamp.ts file to use the UserCourseVirtual enum value in the advancedResult function.