Files
epess-web-backend/src
Ly Tuan Kiet 367fc09c6c feat: enhance user validation and center owner checks in CenterMentorSchema
- Updated the CenterMentorSchema to include user validation by fetching user information based on email.
- Implemented error handling to throw an error if the user is not found.
- Modified the logic to block center owners from being invited as mentors by checking against the user's ID instead of the email.
- Improved overall error messaging for better clarity when invitation conditions are not met.
2024-12-03 19:53:59 +07:00
..
2024-10-29 17:42:54 +07:00
2024-11-26 17:55:34 +07:00
2024-11-22 16:04:53 +07:00
2024-10-27 20:24:06 +07:00
2024-10-29 19:06:01 +07:00
2024-11-22 15:06:49 +07:00
2024-10-29 19:06:01 +07:00
2024-11-03 20:30:58 +07:00
2024-11-25 14:17:32 +07:00
2024-11-08 17:27:09 +07:00
2024-10-29 17:42:54 +07:00
2024-10-29 17:42:54 +07:00
2024-11-11 18:59:12 +07:00
2024-10-29 17:42:54 +07:00
2024-10-29 17:42:54 +07:00