Skip to main content

mark_attempted

Function mark_attempted 

Source
pub async fn mark_attempted(
    conn: &mut PgConnection,
    course_codes: &[String],
) -> ModelResult<DateTime<Utc>>
Expand description

Stamps the codes a listing request is about to go out for and counts the fetch against MAX_FETCHES_PER_DAY. Returns the stamp to hand to mark_fetched.