Skip to content

Commit cde9e86

Browse files
authored
Merge pull request #22 from MickeyPvX/fix/debug
fix: get rid of debug code
2 parents 0277486 + eca2543 commit cde9e86

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/espn/cache_settings.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ pub async fn load_or_fetch_league_settings(
3838
let _ = write_string(&path, &json_str); // tarpaulin::skip - file I/O operation
3939
}
4040

41-
// Debug: Show league's allowed position IDs
42-
let allowed_ids = parsed.settings.get_allowed_position_ids();
43-
eprintln!("League allowed position IDs: {:?}", allowed_ids);
44-
4541
Ok(parsed.settings)
4642
}
4743

src/espn/http.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,6 @@ pub async fn get_league_settings(league_id: LeagueId, season: Season) -> Result<
142142
.json::<Value>()
143143
.await?;
144144

145-
// Debug: Always output league settings for investigation
146-
eprintln!("RAW LEAGUE SETTINGS API RESPONSE:");
147-
eprintln!(
148-
"{}",
149-
serde_json::to_string_pretty(&res).unwrap_or_else(|_| "Failed to serialize".to_string())
150-
);
151-
152145
// Cache the result
153146
GLOBAL_CACHE.league_settings.put(cache_key, res.clone());
154147

0 commit comments

Comments
 (0)