Skip to main content

set_paused

pub async fn set_paused(
    conn: &mut PgConnection,
    course_module_id: Uuid,
    pause: Option<SuotarPause<'_>>,
) -> ModelResult<()>
Expand description

Pauses or resumes the module. Every phase’s claim query skips a paused module, so pausing freezes its ledger rows where they stand instead of cancelling them. None resumes.