pub async fn get_by_exercise_or_course_id(
conn: &mut PgConnection,
exercise: &Exercise,
course_id: Uuid
) -> ModelResult<PeerOrSelfReviewConfig>
Expand description
Returns the correct peer review config depending on exercise.use_course_default_peer_or_self_review_config
.