pub async fn scored_teams( state: &AppState, league_id: i64, ) -> Result<Vec<ScoredFantasyTeam>, AppError>