pub async fn get_user_details(
user: AuthUser,
pool: Data<PgPool>,
path: Path<(Uuid, Uuid)>,
) -> ControllerResult<Json<UserDetail>>
Expand description
GET /api/v0/main-frontend/user-details/{course_id}/user/{user_id}
- Find user details by user id with course permission check
Only returns user details if the user is enrolled in the specified course