[v2] `/mentor/all/` Route
Closed this issue · 2 comments
harshkhandeparkar commented
- Add a
/mentor/all/
(GET, with login) route to fetch a list of all mentors' basic information. - Add tests for this route.
YoganshSharma commented
- In v1, it does not return the mentor who makes the request. Do we have to do that here as well?
KWoC-Backend/controllers/mentor.go
Line 101 in a0ed591
harshkhandeparkar commented
- In v1, it does not return the mentor who makes the request. Do we have to do that here as well?
KWoC-Backend/controllers/mentor.go
Line 101 in a0ed591
I guess we can return it. The frontend should handle the exclusion imo.