Skip to main content

discard

Function discard 

Source
pub async fn discard(
    state: &AppState,
    team_id: FantasyTeamId,
    slate_id: SlateId,
) -> Result<(), AppError>
Expand description

Delete the draft row, abandoning the in-progress lineup. Never refused: there is no committed data to protect.