Skip to main content

clear_slot

Function clear_slot 

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

Empty a slot. An absent draft is created then cleared (net no-op). Refuses on a locked slate.