pub async fn set_metadata(
conn: &mut PgConnection,
app_config: &ApplicationConfiguration,
course_id: Uuid,
course_metadata: CourseMetadataUpdate,
author_user_id: Uuid,
) -> ModelResult<CourseMetadata>Expand description
Saves the course description, audiences and prerequisites, and records the course settings in their history.