Skip to content

Commit

Permalink
Update to new URL for CFB
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveCookTU committed Sep 11, 2023
1 parent 6fce448 commit 627873c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cfb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ async fn load_results(params: RequestParams<u8>) -> Vec<GameResult> {
return vec![];
};

if let Ok(response) = reqwest::get(format!("https://war-helper.com/time?year={year}&week={}&seasonType={}&offset={time_zone}&outlet={}", week.week, week.season_type, &OUTLETS[id as usize])).await {
if let Ok(response) = reqwest::get(format!("https://ylewvgiuxqc2ox7we5rdxqtwji0wvsri.lambda-url.us-east-1.on.aws/?mode=time&year={year}&week={}&seasonType={}&offset={time_zone}&outlet={}", week.week, week.season_type, &OUTLETS[id as usize])).await {
if let Ok(result) = response.json::<Vec<GameResult>>().await {
return result.into_iter().filter_map(|mut r| {
log!("{:?}", r);
Expand Down

0 comments on commit 627873c

Please sign in to comment.