Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the section aggregate endpoints to the professor #242

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mikehquan19
Copy link
Contributor

This pull request is for task #232. I added the section aggregate endpoints to the professor controllers. I also made the function getProfessorQuery(flag string, c *gin.Context) which gets the query of the professor depending on the flag that can be used for both professorCourse() and professorSection(). That way we can reduce redundancy in the code, though I think there's still lots of redundancy in my code.

Thank you.

@jpahm jpahm self-requested a review November 22, 2024 05:57
@jpahm
Copy link
Contributor

jpahm commented Nov 22, 2024

Awesome, thank you! Should be able to review this one much quicker than the last one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants