Skip to main content

ensure_resend_possible

Function ensure_resend_possible 

Source
pub async fn ensure_resend_possible(
    conn: &mut PgConnection,
    app_conf: &ApplicationConfiguration,
    course_id: Uuid,
) -> Result<(), ControllerError>
Expand description

Refuses a resend while account linking is switched off, or for a course with no credit registration module configured.