Skip to main content

mark_listing_succeeded

Function mark_listing_succeeded 

Source
pub async fn mark_listing_succeeded(
    conn: &mut PgConnection,
    course_module_id: Uuid,
    fed_linking: bool,
) -> ModelResult<()>
Expand description

Records a listing whose roster arrived and clears the failure streak. fed_linking is whether account linking was on for it; only then does it move last_listed_at. Sibling of mark_listing_failed.