sef-global/scholarx-backend-v1

Move getLoggedInMentee endpoint to Program Controller

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
A mentee can have only one application per program. So in the frontend, mentees apply for the program instead of applying for a mentor by selecting the mentor. So we need to display mentee's application without using the appliedMentor id.

Describe the solution you'd like
Update GET /api/mentor/{id}/mentee endpoint to GET /api/program/{id}/mentee
Move the methods and unit tests

Describe alternatives you've considered
N/A

Additional context
N/A