Skip to main content

revoke_all_for_submission

Function revoke_all_for_submission 

Source
pub async fn revoke_all_for_submission(
    conn: &mut PgConnection,
    exercise_slide_submission_id: Uuid,
    created_by: Uuid,
) -> ModelResult<u64>
Expand description

Withdraws every live share of one submission at once — the operation a user actually wants after sharing the same answer more than once.