Skip to main content

authorize_course

Function authorize_course 

Source
pub async fn authorize_course(
    conn: &mut PgConnection,
    user_id: Uuid,
    course_id: Uuid,
) -> Result<Course, ToolError>
Expand description

The course, if it exists and the user may edit it.